C# Class Descent.Model.Player.OverlordStuff.OverlordCard

Cards that the overlord draws each turn
Show file Open project: nezbo/Descent Class Usage Examples

Public Methods

Method Description
CanPlay ( ) : bool
OverlordCard ( int id, string name, string description, int playPrice, int sellPrice, OverlordCardType type )

Initializes a new instance of the OverlordCard class.

PlayCard ( ) : void

Method Details

CanPlay() public method

public CanPlay ( ) : bool
return bool

OverlordCard() public method

Initializes a new instance of the OverlordCard class.
public OverlordCard ( int id, string name, string description, int playPrice, int sellPrice, OverlordCardType type )
id int /// The id of the card ///
name string /// The name of the card ///
description string /// The description of the card ///
playPrice int /// The play price of the card ///
sellPrice int /// The sell price of the card ///
type OverlordCardType /// The type of overlordcard ///

PlayCard() public method

public PlayCard ( ) : void
return void