Module engine
This holds the engine which both contains most of the other
objects that do work in Lyntin as well as encapsulates the event queue,
event handling methods, and some of the other singleton managers such as
the HelpManager and the CommandManager.
Engine also holds hooks to the various event types. Events will call
all appropriate hooks allowing you to add functionality via the modules
interface without changing the Lyntin internals.
The engine also holds a list of registered threads. This helps in
diagnostics. Use the methods in exported to handle spinning off
threads.
The Engine class is a singleton and the reference to it is stored in
"engine.myengine". However, you should use the exported module
to access the engine using the "get_engine()" function.
| Classes |
Engine |
This is the engine class. |
| Variable Summary |
| Engine |
myengine
- The engine singleton. |
myengine
The engine singleton. Don't reference this though--it's better to go
through the exported module.
-
- Type:
-
Engine
- Value:
|