|
||||||||||
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.UnpassableInformation
public class UnpassableInformation
The UnpassableInformation show the information that some area is not available to go to the neighbor area.
Field Summary |
---|
Fields inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage |
---|
COMMON_DATA_TYPE, data, messageType |
Constructor Summary | |
---|---|
protected |
UnpassableInformation(BaseMessageType type,
java.util.List<java.lang.Integer> bitList,
int offset,
java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
|
|
UnpassableInformation(int time,
rescuecore2.worldmodel.EntityID platoonID,
rescuecore2.worldmodel.EntityID from,
rescuecore2.worldmodel.EntityID to,
rescuecore2.worldmodel.EntityID blockade)
Constructor |
|
UnpassableInformation(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 |
getBLockadeID()
EntityID of blockade that is a cause of the unppasable situation. |
rescuecore2.worldmodel.EntityID |
getEntityID()
|
rescuecore2.worldmodel.EntityID |
getFromAreaID()
Return EntityID of area that the agent is standing |
rescuecore2.worldmodel.EntityID |
getToAreaID()
EntityID of destination area |
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 UnpassableInformation(int time, rescuecore2.worldmodel.EntityID platoonID, rescuecore2.worldmodel.EntityID from, rescuecore2.worldmodel.EntityID to, rescuecore2.worldmodel.EntityID blockade)
time
- step numplatoonID
- EntityID of the rescue agentfrom
- EntityID of area that the agent is standing.to
- EntityID of destination areablockade
- EntityID of blockade that is a cause of the unppasable
situation.public UnpassableInformation(java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
bitList
- offset
- bitSizeMap
- protected UnpassableInformation(BaseMessageType type, java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
Method Detail |
---|
public rescuecore2.worldmodel.EntityID getAgentID()
public rescuecore2.worldmodel.EntityID getEntityID()
getEntityID
in class WorldInformation
public rescuecore2.worldmodel.EntityID getFromAreaID()
public rescuecore2.worldmodel.EntityID getToAreaID()
public rescuecore2.worldmodel.EntityID getBLockadeID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |