ScummVM API documentation
Saga2::HuntToBeNearActorTask Class Reference
Inheritance diagram for Saga2::HuntToBeNearActorTask:
Saga2::HuntActorTask Saga2::HuntTask Saga2::Task

Public Types

enum  { kTooClose = 12 }
 

Public Member Functions

 HuntToBeNearActorTask (TaskStack *ts, const ActorTarget &at, uint16 r, bool trackFlag=false)
 
 HuntToBeNearActorTask (Common::InSaveFile *in, TaskID id)
 
void fixup ()
 
int32 archiveSize () const
 
void write (Common::MemoryWriteStreamDynamic *out) const
 
int16 getType () const
 
bool operator== (const Task &t) const
 
- Public Member Functions inherited from Saga2::HuntActorTask
 HuntActorTask (TaskStack *ts, const ActorTarget &at, bool trackFlag)
 
 HuntActorTask (Common::InSaveFile *in, TaskID id)
 
- Public Member Functions inherited from Saga2::HuntTask
 HuntTask (TaskStack *ts)
 
 HuntTask (Common::InSaveFile *in, TaskID id)
 
void abortTask ()
 
TaskResult evaluate ()
 
TaskResult update ()
 
- Public Member Functions inherited from Saga2::Task
 Task (TaskStack *ts)
 
 Task (TaskStack *ts, TaskID id)
 
 Task (Common::InSaveFile *in, TaskID id)
 
bool operator!= (const Task &t) const
 

Protected Member Functions

void evaluateTarget ()
 
bool atTarget ()
 
void atTargetabortTask ()
 
TaskResult atTargetEvaluate ()
 
TaskResult atTargetUpdate ()
 
uint16 getRange () const
 
- Protected Member Functions inherited from Saga2::HuntActorTask
bool targetHasChanged (GotoTask *gotoTarget)
 
GotoTasksetupGoto ()
 
TilePoint currentTargetLoc ()
 
const ActorTargetgetTarget () const
 
bool tracking () const
 

Additional Inherited Members

- Public Attributes inherited from Saga2::Task
Common::String _type
 
- Protected Attributes inherited from Saga2::HuntActorTask
Actor_currentTarget
 
- Protected Attributes inherited from Saga2::Task
TaskStack_stack
 
TaskStackID _stackID
 

The documentation for this class was generated from the following file: