Méthode | Description | |
---|---|---|
Game ( ) : System |
Creates a 800x600 window with the specified title.
|
Méthode | 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.
|
Méthode | 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. | |
Résultat | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | Contains timing information. |
Résultat | void |
protected OnResize ( |
||
e | Not used. | |
Résultat | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | Contains timing information for framerate independent logic. |
Résultat | void |