jp.ac.nagoyau.is.ss.kishii.suntori.message.information
Class WorldInformation
java.lang.Object
jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage
jp.ac.nagoyau.is.ss.kishii.suntori.message.information.WorldInformation
- All Implemented Interfaces:
- IMessage
- Direct Known Subclasses:
- AmbulanceTeamInformation, BlockadeInformation, BuildingInformation, FireBrigadeInformation, PoliceForceInformation, PositionInformation, TransferInformation, UnpassableInformation, VictimInformation
public abstract class WorldInformation
- extends RCRSCSMessage
The abstract class represent the information that can obtain from the
disaster space.
- Author:
- takefumi
Method Summary |
abstract rescuecore2.worldmodel.EntityID |
getEntityID()
|
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 |
WorldInformation
public WorldInformation(BaseMessageType type,
int time)
Constructor
- Parameters:
type
- time
-
WorldInformation
public WorldInformation(BaseMessageType type,
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.
- Parameters:
type
- bitList
- offset
- bitSizeMap
-
getEntityID
public abstract rescuecore2.worldmodel.EntityID getEntityID()