Game

Undocumented in source.

Constructors

this
this(bool audio, bool eventSystem)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

Draw
void Draw(GameTimes game_time)
Undocumented in source.
End
void End()
Undocumented in source. Be warned that the author may not have intended to support it.
Init
void Init()
Undocumented in source.
LoadContent
void LoadContent()
Undocumented in source.
PollEvents
void PollEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
Prepare
void Prepare(bool waitForVisible)
Undocumented in source. Be warned that the author may not have intended to support it.
Quit
void Quit()
Undocumented in source. Be warned that the author may not have intended to support it.
Run
void Run()
Undocumented in source. Be warned that the author may not have intended to support it.
RunOne
bool RunOne()

Run a single iteration

UnloadContent
void UnloadContent()
Undocumented in source.
Update
void Update(GameTimes game_time)
Undocumented in source.
forceWindowChange
void forceWindowChange(win.Window newWindow)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

AudioEnabled
bool AudioEnabled [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
AudioEnabled
bool AudioEnabled [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
AverageFPS
int AverageFPS [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
DeltaTime
GameTime DeltaTime [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
FPS
float FPS [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Frametime
float Frametime [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ShowCursor
bool ShowCursor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ShowCursor
bool ShowCursor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
TotalTime
GameTime TotalTime [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Window
win.Window Window [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

Content
ContentManager Content;
Undocumented in source.
CountFPS
bool CountFPS;

Wether the engine should count FPS and frametimes.

OnWindowSizeChanged
Event OnWindowSizeChanged;
Undocumented in source.
sprite_batch
SpriteBatch sprite_batch;
Undocumented in source.
window
win.Window window;
Undocumented in source.

Meta