C# Class Electric_Potatoe_TD.Game1

Inheritance: Microsoft.Xna.Framework.Game
Exibir arquivo Open project: Haseo/Electric-Potatoe-TD Class Usage Examples

Public Properties

Property Type Description
_game Game
_statut Game_Statut
graphics GraphicsDeviceManager
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

Public Methods

Method Description
End_Game ( bool victory, int score ) : void
Game1 ( ) : System
Restart_game ( ) : void
change_statut ( Game_Statut statut ) : void
getScore ( ) : int

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
Oriented_changed ( object sender, EventArgs e ) : void

Method Details

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

End_Game() public method

public End_Game ( bool victory, int score ) : void
victory bool
score int
return void

Game1() public method

public Game1 ( ) : System
return System

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

Restart_game() public method

public Restart_game ( ) : void
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

change_statut() public method

public change_statut ( Game_Statut statut ) : void
statut Game_Statut
return void

getScore() public method

public getScore ( ) : int
return int

Property Details

_game public_oe property

public Game _game
return Game

_statut public_oe property

public Game_Statut _statut
return Game_Statut

graphics public_oe property

public GraphicsDeviceManager graphics
return GraphicsDeviceManager

spriteBatch public_oe property

public SpriteBatch,Microsoft.Xna.Framework.Graphics spriteBatch
return Microsoft.Xna.Framework.Graphics.SpriteBatch