|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcommlib.message.RCRSCSMessage
commlib.information.WorldInformation
commlib.information.FireBrigadeInformation
public class FireBrigadeInformation
This class show the Fire Brigade information.
コンストラクタの概要 | |
---|---|
FireBrigadeInformation(int time,
rescuecore2.worldmodel.EntityID fbID,
int hp,
int damage,
int buriedness,
int water,
rescuecore2.worldmodel.EntityID areaID)
Constructor Create the information of fire brigade Included data are follow. |
|
FireBrigadeInformation(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 |
getBuriedness()
Return buriedness of the fb. |
int |
getDamage()
Return damage of the fb. |
rescuecore2.worldmodel.EntityID |
getEntityID()
|
rescuecore2.worldmodel.EntityID |
getFireBrigadeID()
Return EntityID of the fb. |
int |
getHP()
Return hp of the fb. |
rescuecore2.worldmodel.EntityID |
getPositionID()
Return EntityID of area that the fb is standing. |
int |
getWater()
Return amount of left water. |
クラス commlib.message.RCRSCSMessage から継承されたメソッド |
---|
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public FireBrigadeInformation(int time, rescuecore2.worldmodel.EntityID fbID, int hp, int damage, int buriedness, int water, rescuecore2.worldmodel.EntityID areaID)
time
- step numfbID
- EntityIDhp
- hp of the fbdamage
- damage of the fbburiedness
- buriedness of the fbwater
- amount of left waterareaID
- EntityID of areapublic FireBrigadeInformation(java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
bitList
- offset
- bitSizeMap
- メソッドの詳細 |
---|
public rescuecore2.worldmodel.EntityID getFireBrigadeID()
public int getHP()
public int getDamage()
public int getBuriedness()
public int getWater()
public rescuecore2.worldmodel.EntityID getPositionID()
public rescuecore2.worldmodel.EntityID getEntityID()
WorldInformation
内の getEntityID
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |