Method | Description | |
---|---|---|
Game ( ) : System |
Creates a 800x600 window with the specified title.
|
Method | Description | |
---|---|---|
OnLoad ( |
Load resources here.
|
|
OnRenderFrame ( FrameEventArgs e ) : void |
Called when it is time to render the next frame. Add your rendering code here.
|
|
OnResize ( |
Called when your window is resized. Set your viewport here. It is also a good place to set up your projection matrix (which probably changes along when the aspect ratio of your window).
|
|
OnUpdateFrame ( FrameEventArgs e ) : void |
Called when it is time to setup the next frame. Add you game logic here.
|
Method | Description | |
---|---|---|
KeyDown ( object sender, |
||
Main ( ) : void | ||
PrintCode ( string code, float &yOffset ) : void | ||
PrintComment ( |
||
PrintComment ( string comment, float &yOffset ) : void | ||
PrintCommentWithLine ( |
||
PrintCommentWithLine ( string comment, QFontAlignment alignment, float xOffset, float &yOffset ) : void | ||
PrintWithBounds ( |
protected OnLoad ( |
||
e | Not used. | |
return | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | Contains timing information. |
return | void |
protected OnResize ( |
||
e | Not used. | |
return | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | Contains timing information for framerate independent logic. |
return | void |