|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoShared
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoMessage.FlagInfoSharedMessage
public class FlagInfoMessage.FlagInfoSharedMessage
Implementation of the shared part of the GameBots2004 message FLG, used to facade FLGMessage.
Complete message documentation: Synchronous message. FlagInfo contains all info about the flag in the CTF game mode. Is not sent in other game types.
| Field Summary | |
|---|---|
protected UnrealIdProperty |
myHolder
Id of player/bot holding the flag. |
protected cz.cuni.amis.pogamut.multi.communication.worldview.property.LocationProperty |
myLocation
An absolute location of the flag (Sent if we can actually see the flag). |
protected cz.cuni.amis.pogamut.multi.communication.worldview.property.StringProperty |
myState
Represents the state the flag is in. |
protected cz.cuni.amis.pogamut.multi.communication.worldview.property.IntegerProperty |
myTeam
The owner team of this flag. |
protected HashMap<cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId,cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty> |
propertyMap
|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoShared |
|---|
HolderPropertyToken, LocationPropertyToken, SharedPropertyTokens, SimTime, StatePropertyToken, TeamPropertyToken |
| Constructor Summary | |
|---|---|
FlagInfoMessage.FlagInfoSharedMessage()
|
|
| Method Summary | |
|---|---|
FlagInfoMessage.FlagInfoSharedMessage |
clone()
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getHolder()
Id of player/bot holding the flag. |
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
An unique Id for this flag, assigned by the game. |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getLocation()
An absolute location of the flag (Sent if we can actually see the flag). |
Map<cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId,cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty> |
getProperties()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty |
getProperty(cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId id)
|
String |
getState()
Represents the state the flag is in. |
Integer |
getTeam()
The owner team of this flag. |
String |
toHtmlString()
|
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoShared |
|---|
getCompositeClass, getSimTime, setSimTime |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected HashMap<cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId,cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty> propertyMap
protected cz.cuni.amis.pogamut.multi.communication.worldview.property.LocationProperty myLocation
protected UnrealIdProperty myHolder
protected cz.cuni.amis.pogamut.multi.communication.worldview.property.IntegerProperty myTeam
protected cz.cuni.amis.pogamut.multi.communication.worldview.property.StringProperty myState
| Constructor Detail |
|---|
public FlagInfoMessage.FlagInfoSharedMessage()
| Method Detail |
|---|
public FlagInfoMessage.FlagInfoSharedMessage clone()
clone in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObjectclone in class FlagInfoSharedpublic cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty getProperty(cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId id)
public Map<cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId,cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty> getProperties()
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObjectgetId in class FlagInfoSharedpublic cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation()
getLocation in class FlagInfoSharedpublic cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getHolder()
getHolder in class FlagInfoSharedpublic Integer getTeam()
getTeam in class FlagInfoSharedpublic String getState()
getState in class FlagInfoSharedpublic String toString()
toString in class FlagInfoSharedpublic String toHtmlString()
toHtmlString in class FlagInfoShared
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||