ScummVM API documentation
Saga2::WanderTask Class Reference
Inheritance diagram for Saga2::WanderTask:
Saga2::Task Saga2::TetheredWanderTask

Public Member Functions

 WanderTask (TaskStack *ts)
 
 WanderTask (Common::InSaveFile *in, TaskID id)
 
int32 archiveSize () const
 
void write (Common::MemoryWriteStreamDynamic *out) const
 
int16 getType () const
 
void abortTask ()
 
TaskResult evaluate ()
 
TaskResult update ()
 
bool operator== (const Task &t) const
 
- Public Member Functions inherited from Saga2::Task
 Task (TaskStack *ts)
 
 Task (TaskStack *ts, TaskID id)
 
 Task (Common::InSaveFile *in, TaskID id)
 
virtual void fixup ()
 
bool operator!= (const Task &t) const
 

Protected Member Functions

virtual TaskResult handleWander ()
 
TaskResult handlePaused ()
 
void pause ()
 
void wander ()
 

Protected Attributes

bool _paused
 
int16 _counter
 
- 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: