C# Class Descent.GUI.Screens.HeroElement

The specialized user interface for a hero player. It displays most of the hero's belongings and scores along with an image of the hero.
Inheritance: GUIElement
Show file Open project: nezbo/Descent

Public Methods

Method Description
Draw ( SpriteBatch draw ) : void
HeroElement ( Microsoft.Xna.Framework.Game game, Hero hero ) : System.Collections.Generic

Creates a new HeroElement to visualize the given hero.

Method Details

Draw() public method

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

HeroElement() public method

Creates a new HeroElement to visualize the given hero.
public HeroElement ( Microsoft.Xna.Framework.Game game, Hero hero ) : System.Collections.Generic
game Microsoft.Xna.Framework.Game The current Game object.
hero Hero The hero to display.
return System.Collections.Generic