C# Class CastleEscape.State

Represents a game state. Author: Dennis Honeyman
Show file Open project: Daminvar/CastleEscape Class Usage Examples

Protected Properties

Property Type Description
game Game
transparent bool

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
Pause ( ) : void
Resume ( ) : void
State ( Microsoft.Xna.Framework.Game game ) : System
Update ( GameTime gameTime ) : void

Method Details

Draw() public abstract method

public abstract Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Pause() public abstract method

public abstract Pause ( ) : void
return void

Resume() public abstract method

public abstract Resume ( ) : void
return void

State() public method

public State ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

Update() public abstract method

public abstract Update ( GameTime gameTime ) : void
gameTime GameTime
return void

Property Details

game protected property

protected Game game
return Game

transparent protected property

protected bool transparent
return bool