Method Summary |
|
__init__ (self,
config)
Constructor. |
|
clearScreen(self)
|
|
connect (self,
host)
Connect to a game server. |
|
disconnect (self,
session)
Disconnect a Session |
|
isDebugModeEnabled(self)
|
|
isServerRunning(self)
|
|
loading (self)
Loading state loop. |
|
loadSvgDrawing (self,
target,
name,
fileName,
textureSize)
Load an SVG drawing synchronously. |
|
main (self)
Main state loop. |
|
resizeScreen (self,
width,
height)
Resize the game screen. |
|
restart (self)
Restart the game. |
|
run (self)
Run one cycle of the task scheduler engine. |
|
setDebugModeEnabled (self,
enabled)
Show or hide the debug layer. |
|
setStartupLayer (self,
startupLayer)
Set the Layer that will be shown when the all the
resources have been loaded. |
|
startServer (self)
Start the game server. |
|
stopServer (self)
Stop the game server. |
|
toggleFullscreen (self)
Toggle between fullscreen and windowed mode. |
Inherited from Engine |
|
addTask (self,
task,
synchronized)
Add a task to the engine. |
|
boostBackgroundThreads (self,
boost)
Increase priority of background threads. |
|
collectGarbage (self)
Run a garbage collection run. |
|
enableGarbageCollection (self,
enabled)
Enable or disable garbage collection whenever a random garbage
collection run would be undesirable. |
|
pauseTask (self,
task)
Pause a task. |
|
quit (self)
|
|
removeTask (self,
task)
Remove a task from the engine. |
|
resumeTask (self,
task)
Resume a paused task. |
|
_getTaskQueues (self,
task)
|
|
_runTask (self,
task,
ticks)
|