|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcommlib.message.RCRSCSMessage
commlib.information.WorldInformation
commlib.information.BlockadeInformation
public class BlockadeInformation
The BlockadeInformation represent the Information of Blockade.
コンストラクタの概要 | |
---|---|
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 Create the blockade information. |
|
BlockadeInformation(int time,
rescuecore2.worldmodel.EntityID blockadeID,
rescuecore2.worldmodel.EntityID roadID,
int repairCost,
rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> blockadeCor)
Constructor Create the blockade information. |
メソッドの概要 | |
---|---|
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. |
クラス commlib.message.RCRSCSMessage から継承されたメソッド |
---|
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
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
- メソッドの詳細 |
---|
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()
WorldInformation
内の getEntityID
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |