ScummVM API documentation
Twp::ThreadBase Class Referenceabstract
Inheritance diagram for Twp::ThreadBase:
Twp::Cutscene Twp::Thread

Public Member Functions

void pause ()
 
void unpause ()
 
void setName (const Common::String &name)
 
Common::String getName () const
 
int getId () const
 
virtual HSQUIRRELVM getThread ()=0
 
virtual bool isGlobal ()=0
 
bool isSuspended ()
 
bool isDead ()
 
void suspend ()
 
void resume ()
 
virtual bool update (float elapsed)=0
 
virtual void stop ()=0
 

Public Attributes

float _waitTime = 0.f
 
int _numFrames = 0
 
bool _paused = false
 
bool _pauseable = false
 
uint32 _lastUpdateTime = 0
 

Protected Attributes

int _id = 0
 
Common::String _name
 
bool _stopRequest = false
 
bool _stopped = false
 

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