C# Класс Descent.Model.Player.OverlordStuff.OverlordCard

Cards that the overlord draws each turn
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CanPlay() публичный Метод

public CanPlay ( ) : bool
Результат bool

OverlordCard() публичный Метод

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 PlayCard ( ) : void
Результат void