Atlantis.Engine Class
The engine class that initialize an Atlantis.Game object and setup managers and scene.
Constructor
Item Index
Methods
Properties
Methods
draw
()
In this method the screen must be cleared and components are drawn. All draw code come here.
initialize
()
Initialize the game logic and components.
loadContent
()
Load content.
pause
()
Set the game in pause mode. The canvas is no more updated and drawn.
resume
()
Resume a paused game.
run
()
Methods called by the main loop on each frame who call update and draw methods.
unloadContent
()
Unload content.
update
()
Update