|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.AmbulanceTeamInformation
public class AmbulanceTeamInformation
This class represent the information of Ambulance Team.
Field Summary |
---|
Fields inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage |
---|
COMMON_DATA_TYPE, data, messageType |
Constructor Summary | |
---|---|
AmbulanceTeamInformation(int time,
rescuecore2.worldmodel.EntityID atID,
int hp,
int damage,
int buriedness,
rescuecore2.worldmodel.EntityID areaID)
Constructor |
|
AmbulanceTeamInformation(java.util.List<java.lang.Integer> bitList,
int offset,
java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage |
---|
equals, getBrokenness, getBuriedness, getCoodinate, getDamage, getData, getData, getDataTypeArray, getEntityIDList, getFieryness, getHP, getID, getMessageBitSize, getMessageType, getRepairCost, getSendTime, getSendTime, getWater, getWaterPower, hashCode, isSendable, setCoorinate, setData, setData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
- Method Detail |
---|
public rescuecore2.worldmodel.EntityID getAmbulanceTeamID()
public int getHP()
public int getDamage()
public int getBuriedness()
public rescuecore2.worldmodel.EntityID getPositionID()
public rescuecore2.worldmodel.EntityID getEntityID()
getEntityID
in class WorldInformation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |