GameManager

Main class that handles the Game.

Constructors

this
this(Logger logger, Window window, Renderer renderer, BackendType type)

Internal constructor used by GameManagerFactory

Members

Functions

isRunning
bool isRunning()
run
void run()

Main run method. This will block until the Game has finished running.

stop
void stop()

Tell the GameManager to stop running and quit. The GameManager will then cleanup resources and exit the run() method.

Properties

eventManager
EventManager eventManager [@property getter]
inputManager
InputManager inputManager [@property getter]
logger
Logger logger [@property getter]
renderer
Renderer renderer [@property getter]
resourceManager
ResourceManager resourceManager [@property getter]
window
Window window [@property getter]

Variables

backendType
BackendType backendType;

The Backend the GameManager is using for graphics output.

Meta