commlib.task.pf
クラス ClearRouteTaskMessage
java.lang.Object
commlib.message.RCRSCSMessage
commlib.task.TaskMessage
commlib.task.pf.PoliceForceTaskMessage
commlib.task.pf.ClearRouteTaskMessage
- すべての実装されたインタフェース:
- IMessage, ITaskMessage
public class ClearRouteTaskMessage
- extends PoliceForceTaskMessage
The ClearRouteTaskMessage represent the message that command to clear roads.
This class instruct PF to secure a route from area A to area B.
- 作成者:
- takefumi
コンストラクタの概要 |
ClearRouteTaskMessage(int time,
rescuecore2.worldmodel.EntityID ownerID,
rescuecore2.worldmodel.EntityID pfID,
rescuecore2.worldmodel.EntityID departure,
rescuecore2.worldmodel.EntityID destination)
Constructor Create the message to order to clear route. |
ClearRouteTaskMessage(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. |
クラス java.lang.Object から継承されたメソッド |
getClass, notify, notifyAll, toString, wait, wait, wait |
ClearRouteTaskMessage
public ClearRouteTaskMessage(int time,
rescuecore2.worldmodel.EntityID ownerID,
rescuecore2.worldmodel.EntityID pfID,
rescuecore2.worldmodel.EntityID departure,
rescuecore2.worldmodel.EntityID destination)
Constructor
Create the message to order to clear route.
Included data are follow.
- time:the time that the message is created.(int)
- ownerID:EntityID of the agent that sent this message.
- pfID:EntityID of PF that is ordered to do.
Constructor
Create the message to order fight fires to FB.
Included data are follow.
- time:the time that the message is created.(int)
- ownerID:EntityID of the agent that sent this message.
- fbID:EntityID of FB that is ordered to do.
- departure:departure of the route
- destination:destination of the route
- パラメータ:
time
- step numownerID
- EntityID of the agent that sent this message.pfID
- EntityID of PFdeparture
- EntityID of departure areadestination
- EntityID of the destination area
ClearRouteTaskMessage
public ClearRouteTaskMessage(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.
- パラメータ:
bitList
- offset
- bitSizeMap
-
getDepartureAreaID
public rescuecore2.worldmodel.EntityID getDepartureAreaID()
- EntityID of daparture area
- 戻り値:
- EntityID of area
getDestinationAreaID
public rescuecore2.worldmodel.EntityID getDestinationAreaID()
- EntityID of destination area
- 戻り値:
- EntityID of area