C# Class CannonGame.GameState

Show file Open project: obcilion/xnaKanonSpill Class Usage Examples

Public Properties

Property Type Description
CurrentGameStateIndex int

Protected Properties

Property Type Description
Content Microsoft.Xna.Framework.Content.ContentManager
Frameinfo FrameInfo
SpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

Public Methods

Method Description
Draw ( ) : void
GameState ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, int currnetGameStateIndex ) : System
Reset ( ) : void
Update ( ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

GameState() public method

public GameState ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, int currnetGameStateIndex ) : System
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
currnetGameStateIndex int
return System

Reset() public method

public Reset ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Content protected property

protected ContentManager,Microsoft.Xna.Framework.Content Content
return Microsoft.Xna.Framework.Content.ContentManager

CurrentGameStateIndex public property

public int CurrentGameStateIndex
return int

Frameinfo protected property

protected FrameInfo,CannonGame Frameinfo
return FrameInfo

SpriteBatch protected property

protected SpriteBatch,Microsoft.Xna.Framework.Graphics SpriteBatch
return Microsoft.Xna.Framework.Graphics.SpriteBatch