ScummVM API documentation
Saga2::HuntTask Class Referenceabstract
Inheritance diagram for Saga2::HuntTask:
Saga2::Task Saga2::BandTask Saga2::HuntActorTask Saga2::HuntLocationTask Saga2::HuntObjectTask Saga2::BandAndAvoidEnemiesTask Saga2::HuntToBeNearActorTask Saga2::HuntToGiveTask Saga2::HuntToKillTask Saga2::HuntToBeNearLocationTask Saga2::HuntToBeNearObjectTask Saga2::HuntToPossessTask

Public Member Functions

 HuntTask (TaskStack *ts)
 
 HuntTask (Common::InSaveFile *in, TaskID id)
 
void fixup ()
 
int32 archiveSize () const
 
void write (Common::MemoryWriteStreamDynamic *out) const
 
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

virtual void evaluateTarget ()=0
 
virtual bool targetHasChanged (GotoTask *gotoTarget)=0
 
virtual GotoTasksetupGoto ()=0
 
virtual TilePoint currentTargetLoc ()=0
 
virtual bool atTarget ()=0
 
virtual void atTargetabortTask ()=0
 
virtual TaskResult atTargetEvaluate ()=0
 
virtual TaskResult atTargetUpdate ()=0
 

Additional Inherited Members

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

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