C# Class Descent.GUI.SubElements.OverlordCardElement

Shows the information of an overlord card and is able to switch between a hidden and an expanded mode.
Inheritance: GUIElement
Show file Open project: nezbo/Descent

Private Properties

Property Type Description

Public Methods

Method Description
OverlordCardElement ( Microsoft.Xna.Framework.Game game, int x, int y, OverlordCard card ) : Descent.Messaging.Events

Creates a new OverlordCardElement to display information about the given OverlordCard starting from the given position.

Protected Methods

Method Description
ActOnDirectClick ( int x, int y ) : void

Method Details

ActOnDirectClick() protected method

protected ActOnDirectClick ( int x, int y ) : void
x int
y int
return void

OverlordCardElement() public method

Creates a new OverlordCardElement to display information about the given OverlordCard starting from the given position.
public OverlordCardElement ( Microsoft.Xna.Framework.Game game, int x, int y, OverlordCard card ) : Descent.Messaging.Events
game Microsoft.Xna.Framework.Game The current Game object.
x int The top-left x-coordinate of the hidden mode.
y int The top-left y-coordinate of the hidden mode.
card Descent.Model.Player.OverlordStuff.OverlordCard The OverlordCard to display information for.
return Descent.Messaging.Events