C# Class OpenEmpires.Game

Exibir arquivo Open project: HandsomeMatt/OpenEmpires

Public Properties

Property Type Description
GameView SFML.Graphics.View
Window SFML.Graphics.RenderWindow

Public Methods

Method Description
Clamp ( int value, int min, int max ) : int
Exit ( ) : void
Initialize ( ) : void
Run ( ) : void

Private Methods

Method Description
Draw ( double time ) : void
Game ( ) : System
Resize ( Vector2f newSize ) : void
Update ( double time ) : void
Window_MouseMoved ( object sender, MouseMoveEventArgs e ) : void

Method Details

Clamp() public static method

public static Clamp ( int value, int min, int max ) : int
value int
min int
max int
return int

Exit() public static method

public static Exit ( ) : void
return void

Initialize() public static method

public static Initialize ( ) : void
return void

Run() public static method

public static Run ( ) : void
return void

Property Details

GameView public_oe static_oe property

public static View,SFML.Graphics GameView
return SFML.Graphics.View

Window public_oe static_oe property

public static RenderWindow,SFML.Graphics Window
return SFML.Graphics.RenderWindow