ScummVM API documentation
Kyra::TimerManager Class Reference

Public Member Functions

 TimerManager (KyraEngine_v1 *vm, OSystem *sys)
 
void pause (bool p)
 
void reset ()
 
void addTimer (uint8 id, TimerFunc *func, int countdown, bool enabled)
 
int count () const
 
void update ()
 
void resetNextRun ()
 
void setCountdown (uint8 id, int32 countdown)
 
void setDelay (uint8 id, int32 countdown)
 
int32 getDelay (uint8 id) const
 
void setNextRun (uint8 id, uint32 nextRun)
 
uint32 getNextRun (uint8 id) const
 
void pauseSingleTimer (uint8 id, bool p)
 
bool isEnabled (uint8 id) const
 
void enable (uint8 id)
 
void disable (uint8 id)
 
void loadDataFromFile (Common::SeekableReadStream &file, int version)
 
void saveDataToFile (Common::WriteStream &file) const
 

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