|
||||||||||
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.BlockadeInformation
public class BlockadeInformation
The BlockadeInformation represent the Information of Blockade.
Field Summary |
---|
Fields inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage |
---|
COMMON_DATA_TYPE, data, messageType |
Constructor Summary | |
---|---|
BlockadeInformation(BaseMessageType type,
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. |
|
BlockadeInformation(int time,
rescuecore2.worldmodel.EntityID blockadeID,
rescuecore2.worldmodel.EntityID roadID,
int repairCost)
Constructor |
|
BlockadeInformation(int time,
rescuecore2.worldmodel.EntityID blockadeID,
rescuecore2.worldmodel.EntityID roadID,
int repairCost,
rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> blockadeCor)
Constructor |
Method Summary | |
---|---|
rescuecore2.worldmodel.EntityID |
getBlockadeID()
Return EntityID of the blockade. |
rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> |
getCoodinate()
Return the coordinate of the blockade. |
rescuecore2.worldmodel.EntityID |
getEntityID()
|
int |
getRepairCost()
Return repair cost of the blockade. |
rescuecore2.worldmodel.EntityID |
getRoadID()
Return EntityID of road that the blockade exist. |
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 BlockadeInformation(int time, rescuecore2.worldmodel.EntityID blockadeID, rescuecore2.worldmodel.EntityID roadID, int repairCost)
time
- step numblockadeID
- EntityID of the blockaderoadID
- EntityID of road that the blockade existsrepairCost
- repair cost of the blockadepublic BlockadeInformation(int time, rescuecore2.worldmodel.EntityID blockadeID, rescuecore2.worldmodel.EntityID roadID, int repairCost, rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> blockadeCor)
time
- step numblockadeID
- EntityID of the blockaderoadID
- EntityiD of road that the blockade existsrepairCost
- repair cost of the blockadeblockadeCor
- barycentric coordinate of the blockadepublic BlockadeInformation(BaseMessageType type, java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
type
- bitList
- offset
- bitSizeMap
- Method Detail |
---|
public rescuecore2.worldmodel.EntityID getBlockadeID()
public rescuecore2.worldmodel.EntityID getRoadID()
public int getRepairCost()
public rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> getCoodinate()
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 |