Exemplo n.º 1
0
 public HS_CreatureCard(int power, int health, List <HS_CreatureType> creatureTypes, string copy,
                        byte cost, string id, HS_CardRarity rarity, HS_CardType type, string imageid)
     : base(copy, cost, id, rarity, type, imageid)
 {
     this.power         = power;
     this.health        = health;
     this.creatureTypes = creatureTypes;
 }
Exemplo n.º 2
0
 public static char GetCode(HS_CardType type)
 {
     switch (type)
     {
     case HS_CardType.Creature: return('C');
     }
     return('?');
 }
Exemplo n.º 3
0
 public HS_Card(HS_Card card)
 {
     this.copy    = card.copy;
     this.cost    = card.cost;
     this.id      = card.id;
     this.rarity  = card.rarity;
     this.type    = card.type;
     this.imageid = card.imageid;
 }
Exemplo n.º 4
0
 public HS_Card(string copy, byte cost, string id, HS_CardRarity rarity, HS_CardType type, string imageid)
 {
     this.copy    = copy;
     this.cost    = cost;
     this.id      = id;
     this.rarity  = rarity;
     this.type    = type;
     this.imageid = imageid;
 }