C# Class JustTheBasics.Game

Inheritance: OpenTK.GameWindow
Mostra file Open project: HeroOfTheWinds/CS-350-410-431-Group-Project Class Usage Examples

Public Properties

Property Type Description
CurrentView System.Drawing.RectangleF

Public Methods

Method Description
Game ( ) : System

Protected Methods

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

Private Methods

Method Description
initProgram ( ) : void
loadImage ( Bitmap image, bool tile = false ) : int
loadImage ( string filename, Background bg, bool tile = false ) : int
loadImage ( string filename, Sprite spr, bool tile = false ) : int
loadImage ( string filename, bool tile = false ) : int
loadImage ( string filename, int &x, int &y, bool tile = false ) : int
loadRoom ( Room newRoom ) : void

Method Details

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

Property Details

CurrentView public_oe property

public RectangleF,System.Drawing CurrentView
return System.Drawing.RectangleF