C# Class CastleEscape.HUD

The HUD for the Overworld state. Displays basic player information and the name of the current room. Author: Dennis Honeyman
Show file Open project: Daminvar/CastleEscape Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch, int xPos, int yPos ) : void

Draws the HUD.

HUD ( Microsoft.Xna.Framework.Game game, Player player, ScriptableMap map ) : System

Method Details

Draw() public method

Draws the HUD.
public Draw ( SpriteBatch spriteBatch, int xPos, int yPos ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch The SpriteBatch to use.
xPos int The X coordinate to draw at.
yPos int The Y coordinate to draw at.
return void

HUD() public method

public HUD ( Microsoft.Xna.Framework.Game game, Player player, ScriptableMap map ) : System
game Microsoft.Xna.Framework.Game
player Player
map ScriptableMap
return System