Method | Description | |
---|---|---|
Keyboard_KeyDown ( object sender, |
Occurs when a key is pressed.
|
|
SimpleWindow ( ) : System |
Method | Description | |
---|---|---|
OnLoad ( |
Setup OpenGL and load resources here.
|
|
OnRenderFrame ( FrameEventArgs e ) : void |
Add your game rendering code here. There is no need to call the base implementation. |
|
OnResize ( |
Respond to resize events here. There is no need to call the base implementation. |
|
OnUpdateFrame ( FrameEventArgs e ) : void |
Add your game logic here. There is no need to call the base implementation. |
Method | Description | |
---|---|---|
Main ( ) : void |
public Keyboard_KeyDown ( object sender, |
||
sender | object | The KeyboardDevice which generated this event. |
e | The key that was pressed. | |
return | void |
protected OnLoad ( |
||
e | Not used. | |
return | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | Contains timing information. |
return | void |
protected OnResize ( |
||
e | Contains information on the new GameWindow size. | |
return | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | Contains timing information. |
return | void |