ScummVM API documentation
Saga2::HuntObjectTask Class Reference
Inheritance diagram for Saga2::HuntObjectTask:
Saga2::HuntTask Saga2::Task Saga2::HuntToBeNearObjectTask Saga2::HuntToPossessTask

Public Member Functions

 HuntObjectTask (TaskStack *ts, const ObjectTarget &ot)
 
 HuntObjectTask (Common::InSaveFile *in, TaskID id)
 
int32 archiveSize () const
 
void write (Common::MemoryWriteStreamDynamic *out) const
 
- Public Member Functions inherited from Saga2::HuntTask
 HuntTask (TaskStack *ts)
 
 HuntTask (Common::InSaveFile *in, TaskID id)
 
void fixup ()
 
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)
 
virtual int16 getType () const =0
 
virtual bool operator== (const Task &t) const =0
 
bool operator!= (const Task &t) const
 

Protected Member Functions

bool targetHasChanged (GotoTask *gotoTarget)
 
GotoTasksetupGoto ()
 
TilePoint currentTargetLoc ()
 
const ObjectTargetgetTarget () const
 
- Protected Member Functions inherited from Saga2::HuntTask
virtual void evaluateTarget ()=0
 
virtual bool atTarget ()=0
 
virtual void atTargetabortTask ()=0
 
virtual TaskResult atTargetEvaluate ()=0
 
virtual TaskResult atTargetUpdate ()=0
 

Protected Attributes

GameObject_currentTarget
 
- Protected Attributes inherited from Saga2::Task
TaskStack_stack
 
TaskStackID _stackID
 

Additional Inherited Members

- Public Attributes inherited from Saga2::Task
Common::String _type
 

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