|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage
jp.ac.nagoyau.is.ss.kishii.suntori.message.information.WorldInformation
jp.ac.nagoyau.is.ss.kishii.suntori.message.information.TransferInformation
public class TransferInformation
This class represent the information of pathway of the rescue angets.
Field Summary |
---|
Fields inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage |
---|
COMMON_DATA_TYPE, data, messageType |
Constructor Summary | |
---|---|
TransferInformation(int time,
rescuecore2.worldmodel.EntityID platoonID,
rescuecore2.worldmodel.EntityID... areas)
Constructor |
|
TransferInformation(int time,
rescuecore2.worldmodel.EntityID platoonID,
java.util.List<rescuecore2.worldmodel.EntityID> areas)
Constructor |
|
TransferInformation(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. |
Method Summary | |
---|---|
rescuecore2.worldmodel.EntityID |
getAgentID()
Return EntityID of the rescue agent. |
rescuecore2.worldmodel.EntityID |
getEntityID()
|
java.util.List<rescuecore2.worldmodel.EntityID> |
getPathway()
Return the rescue agent's pathway |
Methods inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage |
---|
equals, getBrokenness, getBuriedness, getCoodinate, getDamage, getData, getData, getDataTypeArray, getEntityIDList, getFieryness, getHP, getID, getMessageBitSize, getMessageType, getRepairCost, getSendTime, getSendTime, getWater, getWaterPower, hashCode, isSendable, setCoorinate, setData, setData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransferInformation(int time, rescuecore2.worldmodel.EntityID platoonID, rescuecore2.worldmodel.EntityID... areas)
time
- step numplatoonID
- EntityID of the rescue agentareas
- areas that the agent passedpublic TransferInformation(int time, rescuecore2.worldmodel.EntityID platoonID, java.util.List<rescuecore2.worldmodel.EntityID> areas)
time
- step numplatoonID
- EntityID of the rescue agentareas
- List of the agent's pathway(List<EntityID)public TransferInformation(java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
bitList
- offset
- bitSizeMap
- Method Detail |
---|
public rescuecore2.worldmodel.EntityID getAgentID()
public java.util.List<rescuecore2.worldmodel.EntityID> getPathway()
public rescuecore2.worldmodel.EntityID getEntityID()
getEntityID
in class WorldInformation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |