|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcommlib.message.RCRSCSMessage
commlib.information.WorldInformation
commlib.information.BuildingInformation
public class BuildingInformation
The BuildingInformation show the building information.
コンストラクタの概要 | |
---|---|
BuildingInformation(int time,
rescuecore2.worldmodel.EntityID buildingId,
int fieryness,
int brokenness)
Constructor Create the inforamtion of building. |
|
BuildingInformation(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. |
メソッドの概要 | |
---|---|
int |
getBrokenness()
Return brokenness of the building. |
rescuecore2.worldmodel.EntityID |
getBuildingID()
Return EntityID of the building. |
rescuecore2.worldmodel.EntityID |
getEntityID()
|
int |
getFieryness()
Return fieryness of the building. |
クラス commlib.message.RCRSCSMessage から継承されたメソッド |
---|
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public BuildingInformation(int time, rescuecore2.worldmodel.EntityID buildingId, int fieryness, int brokenness)
time
- step numbuildingId
- EntityiD of the buildingfieryness
- fieryness of the buildingbrokenness
- blockenness of the buildingpublic BuildingInformation(java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
bitList
- offset
- bitSizeMap
- メソッドの詳細 |
---|
public rescuecore2.worldmodel.EntityID getBuildingID()
public int getBrokenness()
public int getFieryness()
public rescuecore2.worldmodel.EntityID getEntityID()
WorldInformation
内の getEntityID
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |