C# Class CastleEscape.ItemState

A state for viewing and using items. Author: Dennis Honeyman
Inheritance: State
Show file Open project: Daminvar/CastleEscape

Public Methods

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

Private Methods

Method Description
getStringOfPlayerItems ( ) : string[]

Method Details

Draw() public method

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

ItemState() public method

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