Class Index | File Index

Classes


Class ROT.Engine

Asynchronous main loop
Defined in: <rot.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
ROT.Engine(scheduler)
Method Summary
Method Attributes Method Name and Description
 
lock()
Interrupt the engine by an asynchronous action
 
Start the main loop.
 
Resume execution (paused by a previous lock)
Class Detail
ROT.Engine(scheduler)
Parameters:
{ROT.Scheduler} scheduler
Method Detail
lock()
Interrupt the engine by an asynchronous action

start()
Start the main loop. When this call returns, the loop is locked.

unlock()
Resume execution (paused by a previous lock)

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jun 13 2016 11:14:41 GMT+0200 (CEST)