ScummVM API documentation
Twp::Thread Class Reference

Public Member Functions

 Thread (const Common::String &name, bool global, HSQOBJECT threadObj, HSQOBJECT envObj, HSQOBJECT closureObj, const Common::Array< HSQOBJECT > args)
 
int getId () const
 
bool isGlobal () const
 
HSQUIRRELVM getThread () const
 
const Common::StringgetName () const
 
bool call ()
 
bool update (float elapsed)
 
void pause ()
 
void unpause ()
 
void stop ()
 
bool isSuspended () const
 
bool isDead () const
 
void suspend ()
 
void resume ()
 

Public Attributes

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

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