- onKey
void onKey(int key, int scancode)
Undocumented in source. Be warned that the author may not have intended to support it.
- resize_
void resize_(uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
- setGame_
void setGame_()
Undocumented in source. Be warned that the author may not have intended to support it.
- setSync_
void setSync_(SyncType syncType)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTitle_
void setTitle_(string title)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateBuffers
void updateBuffers()
Undocumented in source. Be warned that the author may not have intended to support it.
- title
string title [@property getter]
- title
string title [@property setter]
- width
uint width [@property getter]
The width of the window in pixels.
- height
uint height [@property getter]
The height of the window in pixels.
- syncType
SyncType syncType [@property getter]
The type of synchronization the window is using.
- game
GameManager game [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- windowFactory
Window windowFactory(string title, uint width, uint height, SyncType syncType, GraphicsBackendType backend)
Create a new window based on the GraphicsBackendType.
If the backend has not been compiled into mango-engine,
an exception will be thrown.
- resize
void resize(uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
- setGame
void setGame(GameManager game)
Used ONLY by GameManager. DO NOT CALL!
- updateBuffers
void updateBuffers()
Undocumented in source.
- setGame_
void setGame_()
Undocumented in source.
- setSync_
void setSync_(SyncType syncType)
Undocumented in source.
- setTitle_
void setTitle_(string title)
Undocumented in source.
- resize_
void resize_(uint width, uint height)
Undocumented in source.