C# Class Descent.GUI.SubElements.OverlordSummary

A short summary of the overlords information, including threat tokens, deck size, discard size, hand size and the heroes remaining conquest tokens.
Inheritance: GUIElement
Show file Open project: nezbo/Descent

Public Methods

Method Description
Draw ( SpriteBatch draw ) : void
OverlordSummary ( Microsoft.Xna.Framework.Game game, int y ) : Descent.Model.Player

Creates a new summary of the overlords information for the given game and displays it to the right of the screen, at the given y-coordinate (down from the top).

Method Details

Draw() public method

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

OverlordSummary() public method

Creates a new summary of the overlords information for the given game and displays it to the right of the screen, at the given y-coordinate (down from the top).
public OverlordSummary ( Microsoft.Xna.Framework.Game game, int y ) : Descent.Model.Player
game Microsoft.Xna.Framework.Game The current Game object.
y int How far down the screen this HeroSummary should be located.
return Descent.Model.Player