Пример #1
0
 //Constructor
 public SpecialCard(string name, EnumType type, EnumEffect effect)
 {
     Name       = name;
     Type       = type;
     CardEffect = effect;
     BuffType   = null;
 }
 //Constructor
 public CombatCard(string name, EnumType type, EnumEffect effect, int attackPoints, bool hero)
 {
     Name                 = name;
     Type                 = type;
     CardEffect           = effect;
     AttackPoints         = attackPoints;
     OriginalAttackPoints = attackPoints;
     Hero                 = hero;
 }
 public static string GetEffectDescription(EnumEffect e)
 {
     return(effectDescriptions[e]);
 }
Пример #4
0
 public Effect(EnumEffect type)
 {
     Type = type;
 }