GameManagerFactory

Used to create a GameManager instance. DO NOT SHARE ACROSS THREADS.

Constructors

this
this(BackendType type)

Internal Constructor used by the Backend's Initializer class.

Members

Functions

build
GameManager build()

Build the GameManager using all the values set by the set_ methods.

getRenderer
Renderer getRenderer()

Gets the Renderer the GameManager will use to render.

getWindow
Window getWindow()

Gets the Window the GameManager will use for rendering. If it was not set, will return null.

setRenderer
void setRenderer(Renderer renderer)

Sets the Renderer that this GameManager will use to render scenes. This is already set by the Backend's Initalizer, there is no need to reset it.

setWindow
void setWindow(Window window)

Sets the Window that this GameManager will render to.

Variables

backendType
BackendType backendType;

The Backend that will be used by the GameManager

Meta