|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcommlib.message.RCRSCSMessage
commlib.information.WorldInformation
commlib.information.PositionInformation
public class PositionInformation
The class represent the location information of rescue agent.
コンストラクタの概要 | |
---|---|
PositionInformation(int time,
rescuecore2.worldmodel.EntityID platoonID,
rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> cor)
Constructor Create the information of the agent's location. |
|
PositionInformation(java.util.List<java.lang.Integer> bitList,
int offset,
java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
The method that the library use to convert the message. |
メソッドの概要 | |
---|---|
rescuecore2.worldmodel.EntityID |
getAgentID()
Return EntityID of the rescue agent. |
rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> |
getCoordinate()
Return the coordinate of the agent. |
rescuecore2.worldmodel.EntityID |
getEntityID()
|
クラス commlib.message.RCRSCSMessage から継承されたメソッド |
---|
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public PositionInformation(int time, rescuecore2.worldmodel.EntityID platoonID, rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> cor)
time
- step numplatoonID
- EntityID of the rescue agentcor
- agent locationpublic PositionInformation(java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
bitList
- offset
- bitSizeMap
- メソッドの詳細 |
---|
public rescuecore2.worldmodel.EntityID getAgentID()
public rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> getCoordinate()
public rescuecore2.worldmodel.EntityID getEntityID()
WorldInformation
内の getEntityID
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |