C# Class CastleEscape.LevelState

This class will handle the player leveling and allow them to increase their stats
Inheritance: State
Datei anzeigen Open project: Daminvar/CastleEscape

Public Methods

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

Private Methods

Method Description
handleInput ( GameTime gametime ) : void
statIncrease ( string stat ) : void

Method Details

Draw() public method

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

LevelState() public method

public LevelState ( Microsoft.Xna.Framework.Game game, Player player ) : System
game Microsoft.Xna.Framework.Game
player Player
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