|
||||||||||
| 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.BuildingInformation
public class BuildingInformation
The BuildingInformation show the building information.
| Field Summary |
|---|
| Fields inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage |
|---|
COMMON_DATA_TYPE, data, messageType |
| Constructor Summary | |
|---|---|
BuildingInformation(int time,
rescuecore2.worldmodel.EntityID buildingId,
int fieryness,
int brokenness)
Constructor |
|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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 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 building
public BuildingInformation(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 getBuildingID()
public int getBrokenness()
public int getFieryness()
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 | |||||||||