Beispiel #1
0
        public void TestKrakenVsSpells()
        {
            // The Kraken is immune against spells. => kraken wins against all spells
            Card kraken = new Kraken();

            Card water  = new SpellCard(ElementType.Water);
            Card normal = new SpellCard(ElementType.Normal);
            Card fire   = new SpellCard(ElementType.Fire);

            Assert.IsTrue(kraken.Attack(water));
            Assert.IsTrue(kraken.Attack(normal));
            Assert.IsTrue(kraken.Attack(fire));

            Assert.IsFalse(water.Attack(kraken));
            Assert.IsFalse(normal.Attack(kraken));
            Assert.IsFalse(fire.Attack(kraken));
        }
 public void AnimEvent1()
 {
     kraken.Attack();
 }