|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcommlib.message.RCRSCSMessage
commlib.information.WorldInformation
commlib.information.AmbulanceTeamInformation
public class AmbulanceTeamInformation
This class represent the information of Ambulance Team.
コンストラクタの概要 | |
---|---|
AmbulanceTeamInformation(int time,
rescuecore2.worldmodel.EntityID atID,
int hp,
int damage,
int buriedness,
rescuecore2.worldmodel.EntityID areaID)
Constructor Create the Ambulance Team Information. |
|
AmbulanceTeamInformation(java.util.List<java.lang.Integer> bitList,
int offset,
java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
Constructor Create the instance of this class from bit sequence. |
メソッドの概要 | |
---|---|
rescuecore2.worldmodel.EntityID |
getAmbulanceTeamID()
Return EntityID of at. |
int |
getBuriedness()
Return buriedness of the at. |
int |
getDamage()
Return damage of the at. |
rescuecore2.worldmodel.EntityID |
getEntityID()
|
int |
getHP()
Return hp of the at. |
rescuecore2.worldmodel.EntityID |
getPositionID()
Return EntityID of area that the at is standing. |
クラス commlib.message.RCRSCSMessage から継承されたメソッド |
---|
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public AmbulanceTeamInformation(int time, rescuecore2.worldmodel.EntityID atID, int hp, int damage, int buriedness, rescuecore2.worldmodel.EntityID areaID)
time
- step num.atID
- EntityID of at.hp
- hp of the at.damage
- damage of the at.buriedness
- buriedness of the at.areaID
- EntityID of area that the at is standing.public AmbulanceTeamInformation(java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
bitList
- offset
- bitSizeMap
- メソッドの詳細 |
---|
public rescuecore2.worldmodel.EntityID getAmbulanceTeamID()
public int getHP()
public int getDamage()
public int getBuriedness()
public rescuecore2.worldmodel.EntityID getPositionID()
public rescuecore2.worldmodel.EntityID getEntityID()
WorldInformation
内の getEntityID
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |