|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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
閉塞の情報を表すクラスです.
フィールドの概要 |
---|
クラス jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage から継承されたフィールド |
---|
COMMON_DATA_TYPE, data, messageType |
コンストラクタの概要 | |
---|---|
BlockadeInformation(BaseMessageType type,
java.util.List<java.lang.Integer> bitList,
int offset,
java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
メッセージをコンバートするためにシステムが使用するコンストラクタ |
|
BlockadeInformation(int time,
EntityID blockadeID,
EntityID roadID,
int repairCost)
コンストラクタ 閉塞情報を生成します. |
|
BlockadeInformation(int time,
EntityID blockadeID,
EntityID roadID,
int repairCost,
コンストラクタ 閉塞情報を生成します. |
メソッドの概要 | |
---|---|
EntityID |
getBlockadeID()
閉塞のIDを取得する. |
|
getCoodinate()
閉塞の座標を取得する. |
int |
getRepairCost()
閉塞のRepair Costを取得する. |
EntityID |
getRoadID()
閉塞が所属している道のIDを取得する. |
クラス jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage から継承されたメソッド |
---|
equals, getBrokenness, getBuriedness, getCoodinate, getDamage, getData, getData, getDataTypeArray, getEntityIDList, getFieryness, getHP, getID, getMessageBitSize, getMessageMinimumSize, getMessageType, getRepairCost, getSendTime, getSendTime, getSupplyQuantity, getWater, getWaterPower, hashCode, isSendable, setCoorinate, setData, setData |
クラス java.lang.Object から継承されたメソッド |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public BlockadeInformation(int time, EntityID blockadeID, EntityID roadID, int repairCost)
time
- 現在のステップblockadeID
- 閉塞のIDroadID
- 閉塞が属する道路のIDrepairCost
- 開通コストpublic BlockadeInformation(int time, EntityID blockadeID, EntityID roadID, int repairCost,blockadeCor)
time
- 現在のステップblockadeID
- 閉塞のIDroadID
- 閉塞が属する道路のIDrepairCost
- 開通コストblockadeCor
- 閉塞の重心座標public 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 EntityID getBlockadeID()
public EntityID getRoadID()
public int getRepairCost()
publicgetCoodinate()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |