|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcommlib.message.RCRSCSMessage
commlib.information.WorldInformation
commlib.information.PoliceForceInformation
public class PoliceForceInformation
The class represent the police force information
コンストラクタの概要 | |
---|---|
PoliceForceInformation(int time,
rescuecore2.worldmodel.EntityID pfID,
int hp,
int damage,
int buriedness,
rescuecore2.worldmodel.EntityID areaID)
Constructor Create the information of the police force. |
|
PoliceForceInformation(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 buryedness of the pf. |
int |
getDamage()
Return damege of the pf. |
rescuecore2.worldmodel.EntityID |
getEntityID()
|
int |
getHP()
Return hp of the pf. |
rescuecore2.worldmodel.EntityID |
getPoliceForceID()
Return EntityID of the pf. |
rescuecore2.worldmodel.EntityID |
getPositionID()
Return EntityID of area that the pf 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 PoliceForceInformation(int time, rescuecore2.worldmodel.EntityID pfID, int hp, int damage, int buriedness, rescuecore2.worldmodel.EntityID areaID)
time
- step numpfID
- EntityID of the pfhp
- hp of the pfdamage
- damage of the pfburiedness
- buriedness of the pfareaID
- EntityID of areapublic PoliceForceInformation(java.util.List<java.lang.Integer> bitList, int offset, java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
bitList
- offset
- bitSizeMap
- メソッドの詳細 |
---|
public rescuecore2.worldmodel.EntityID getPoliceForceID()
public int getHP()
public int getDamage()
public int getBuriedness()
public rescuecore2.worldmodel.EntityID getPositionID()
public rescuecore2.worldmodel.EntityID getEntityID()
WorldInformation
内の getEntityID
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |