ScummVM API documentation
Saga2::Task Class Referenceabstract
Inheritance diagram for Saga2::Task:
Saga2::AttendTask Saga2::FollowPatrolRouteTask Saga2::GoAwayFromTask Saga2::GotoTask Saga2::HuntTask Saga2::WanderTask Saga2::GoAwayFromActorTask Saga2::GoAwayFromObjectTask Saga2::GotoLocationTask Saga2::GotoObjectTargetTask Saga2::GotoRegionTask Saga2::BandTask Saga2::HuntActorTask Saga2::HuntLocationTask Saga2::HuntObjectTask Saga2::TetheredWanderTask

Public Member Functions

 Task (TaskStack *ts)
 
 Task (TaskStack *ts, TaskID id)
 
 Task (Common::InSaveFile *in, TaskID id)
 
virtual void fixup ()
 
virtual int32 archiveSize () const
 
virtual void write (Common::MemoryWriteStreamDynamic *out) const
 
virtual int16 getType () const =0
 
virtual void abortTask ()=0
 
virtual TaskResult evaluate ()=0
 
virtual TaskResult update ()=0
 
virtual bool operator== (const Task &t) const =0
 
bool operator!= (const Task &t) const
 

Public Attributes

Common::String _type
 

Protected Attributes

TaskStack_stack
 
TaskStackID _stackID
 

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