C# Class CannonGame.GameState

ファイルを表示 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_oe property

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

CurrentGameStateIndex public_oe property

public int CurrentGameStateIndex
return int

Frameinfo protected_oe property

protected FrameInfo,CannonGame Frameinfo
return FrameInfo

SpriteBatch protected_oe property

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