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
Afficher le fichier Open project: nezbo/Descent

Méthodes publiques

Méthode 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 méthode

public Draw ( SpriteBatch draw ) : void
draw Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

HeroElement() public méthode

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.
Résultat System.Collections.Generic