jp.ac.nagoyau.is.ss.kishii.suntori.message.report
Class ReportMessage
java.lang.Object
jp.ac.nagoyau.is.ss.kishii.suntori.message.RCRSCSMessage
jp.ac.nagoyau.is.ss.kishii.suntori.message.report.ReportMessage
- All Implemented Interfaces:
- IMessage
- Direct Known Subclasses:
- DoneReportMessage, ExceptionReportMessage
public abstract class ReportMessage
- extends RCRSCSMessage
The abstract class show the report message.
- Author:
- takefumi
Method Summary |
rescuecore2.worldmodel.EntityID |
getAssignedAgentID()
Return EntityID of the rescue agent that send this message. |
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 |
ReportMessage
public ReportMessage(BaseMessageType type,
int time,
rescuecore2.worldmodel.EntityID platoonID)
ReportMessage
public ReportMessage(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
-
getAssignedAgentID
public rescuecore2.worldmodel.EntityID getAssignedAgentID()
- Return EntityID of the rescue agent that send this message.
- Returns:
- EntityID of the rescue agent.