supertux
Classes | Public Member Functions | List of all members
SquirrelScheduler Class Referencefinal

This class keeps a list of squirrel threads that are scheduled for a certain time. More...

#include <squirrel_scheduler.hpp>

Public Member Functions

 SquirrelScheduler (ssq::VM &vm)
 
void update (float time)
 time must be absolute time, not relative updates, i.e. More...
 
SQInteger schedule_thread (HSQUIRRELVM vm, float time, bool skippable)
 

Detailed Description

This class keeps a list of squirrel threads that are scheduled for a certain time.

(the typical result of a wait() command in a squirrel script)

Member Function Documentation

◆ update()

void SquirrelScheduler::update ( float  time)

time must be absolute time, not relative updates, i.e.

g_game_time


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