Window

Backend interface class: represents a window.

Constructors

this
this(Renderer renderer, string title, uint width, uint height, SyncType syncType)
Undocumented in source.

Members

Functions

gamemanager_notify
void gamemanager_notify(GameManager game)

FOR INTERNAL USE!!!

onGamemanager_notify
void onGamemanager_notify()
Undocumented in source.
resize_
void resize_(uint width, uint height)
Undocumented in source.
setTitle_
void setTitle_(string title)
Undocumented in source.
setVisible_
void setVisible_(bool visible)
Undocumented in source.

Properties

game
GameManager game [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
uint height [@property getter]

The height of the window in pixels.

renderer
Renderer renderer [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
title
string title [@property getter]

The title of the Window.

title
string title [@property setter]

The title of the Window.

visible
bool visible [@property getter]

If the window is currently being displayed.

visible
bool visible [@property setter]

Show or hide the window.

width
uint width [@property getter]

The width of the window in pixels.

Static functions

build
Window build(Renderer renderer, string title, uint width, uint height, SyncType syncType)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

syncType
SyncType syncType;
Undocumented in source.

Meta