예제 #1
0
 public CreatureCard(int attack, int health, string name, int manaCost, CardType cardType, CardEffectName cardEffectName, int coolDown) : base(name, manaCost, cardType, coolDown)
 {
     this.attack         = attack;
     this.health         = health;
     isTapped            = false;
     this.cardEffectName = cardEffectName;
 }
예제 #2
0
	public void Initialise (string _name, int _manaCost, CardType _cardType, CardEffectName _cfn, int _coolDown) {
		this.cardEffectName = _cfn;
		name = _name;
		manaCost = _manaCost;
		cardType = _cardType;
		cooldown = _coolDown;
	}
예제 #3
0
    public void Initialise(Card card)
    {
        SetCard(card);
        SpellCard sc = (SpellCard)card;

        cardEffectName = sc.cardEffectName;
    }
예제 #4
0
 public void Initialise(string _name, int _manaCost, CardType _cardType, CardEffectName _cfn, int _coolDown)
 {
     this.cardEffectName = _cfn;
     name     = _name;
     manaCost = _manaCost;
     cardType = _cardType;
     cooldown = _coolDown;
 }
예제 #5
0
	public void Initialise (int _attack, int _health, string _name, int _manaCost, CardType _cardType, CardEffectName _cfn, int _coolDown) {
		attack = _attack;
		health = _health;
		name = _name;
		manaCost = _manaCost;
		cardType = _cardType;
		cooldown = _coolDown;
		cardEffectName = _cfn;
	}
예제 #6
0
 public void Initialise(int _attack, int _health, string _name, int _manaCost, CardType _cardType, CardEffectName _cfn, int _coolDown)
 {
     attack         = _attack;
     health         = _health;
     name           = _name;
     manaCost       = _manaCost;
     cardType       = _cardType;
     cooldown       = _coolDown;
     cardEffectName = _cfn;
 }
예제 #7
0
	public GameSpell (Card card): base(card) {
		SpellCard sc = (SpellCard)card;
		cardEffectName = sc.cardEffectName;
	}
예제 #8
0
	public void Initialise (Card card){
		SetCard(card);
		SpellCard sc = (SpellCard)card;
		cardEffectName = sc.cardEffectName;
	}
예제 #9
0
	public void DeregisterEffect (CardEffectName cen) {
		Effect eff = EffectDictionary.effects[cen];
    	registeredEffects.Remove(eff);
    }
예제 #10
0
	public void RegisterCardEffect(CardEffectName cen) {
		Effect eff = EffectDictionary.effects[cen];
    	registeredEffects.Add(eff);
    }
예제 #11
0
	public SpellCard (string name, int manaCost, CardType cardType, CardEffectName cfn, int coolDown) : base(name, manaCost, cardType, coolDown) {
		this.cardEffectName = cfn;
	}
예제 #12
0
    public void DeregisterEffect(CardEffectName cen)
    {
        Effect eff = EffectDictionary.effects[cen];

        registeredEffects.Remove(eff);
    }
예제 #13
0
    public void RegisterCardEffect(CardEffectName cen)
    {
        Effect eff = EffectDictionary.effects[cen];

        registeredEffects.Add(eff);
    }
예제 #14
0
    public GameSpell(Card card) : base(card)
    {
        SpellCard sc = (SpellCard)card;

        cardEffectName = sc.cardEffectName;
    }
예제 #15
0
	public CreatureCard (int attack, int health, string name, int manaCost, CardType cardType, CardEffectName cardEffectName, int coolDown) : base(name, manaCost, cardType, coolDown) {
		this.attack = attack;
		this.health = health;
		isTapped = false;
		this.cardEffectName = cardEffectName;
	}
예제 #16
0
	public void SetCardEffectName(CardEffectName cen) {
		cardEffectName = cen;
	}
예제 #17
0
 public SpellCard(string name, int manaCost, CardType cardType, CardEffectName cfn, int coolDown) : base(name, manaCost, cardType, coolDown)
 {
     this.cardEffectName = cfn;
 }
예제 #18
0
 public void SetCardEffectName(CardEffectName cen)
 {
     cardEffectName = cen;
 }