C# Class Example.Game

Inheritance: OpenTK.GameWindow
Mostra file Open project: tpb3d/TPB3D Class Usage Examples

Public Methods

Method Description
Exit ( ) : void
Game ( ) : System
SetPolygonMode ( PolygonMode polygonMode ) : void

Protected Methods

Method Description
Dispose ( bool manual ) : void
OnLoad ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

Private Methods

Method Description
Game_KeyDown ( object sender, KeyboardKeyEventArgs e ) : void
Game_KeyUp ( object sender, KeyboardKeyEventArgs e ) : void
Game_MouseDown ( object sender, MouseButtonEventArgs e ) : void
Game_MouseMove ( object sender, MouseMoveEventArgs e ) : void
Game_MouseUp ( object sender, MouseButtonEventArgs e ) : void
Game_WheelChanged ( object sender, MouseWheelEventArgs e ) : void
Main ( ) : void
SetupLighting ( ) : void
UpdateActualFps ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool manual ) : void
manual bool
return void

Exit() public method

public Exit ( ) : void
return void

Game() public method

public Game ( ) : System
return System

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnRenderFrame() protected method

protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdateFrame() protected method

protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

SetPolygonMode() public method

public SetPolygonMode ( PolygonMode polygonMode ) : void
polygonMode PolygonMode
return void