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.
 
メソッドの概要
 rescuecore2.worldmodel.EntityID getDepartureAreaID()
          EntityID of daparture area
 rescuecore2.worldmodel.EntityID getDestinationAreaID()
          EntityID of destination area
 
クラス commlib.task.pf.PoliceForceTaskMessage から継承されたメソッド
getAssignedAgentID
 
クラス commlib.task.TaskMessage から継承されたメソッド
getMessageOwnerID
 
クラス commlib.message.RCRSCSMessage から継承されたメソッド
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData
 
クラス 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.

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