C# Class CastleEscape.MainMenu

The initial state. Allows player to start a new game, load a current game, display game info, or exit. Author: Dennis Honeyman
Inheritance: State
Show file Open project: Daminvar/CastleEscape

Public Methods

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

Method Details

Draw() public method

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

MainMenu() public method

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

Pause() public method

public Pause ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Update() public method

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