Search in sources :

Example 1 with ZombieMinion

use of Minions.Undead.ZombieMinion in project cardgame1 by joey101937.

the class ZombieTrap method onSummon.

@Override
public void onSummon(Minion m) {
    if (m.owner == this.owner || !active) {
        return;
    }
    active = false;
    Sticker reveal = new Sticker(parent, 1700, 200, AI.AI.speed * 6);
    Sticker skull = new Sticker(SpriteHandler.skullEffect, m, AI.AI.speed * 6);
    Main.wait(AI.AI.speed * 6);
    m.destroy();
    m.owner.minions.add(new ZombieMinion(m.owner, 3, 1));
    owner.traps.remove(this);
}
Also used : Sticker(cardgame1.Sticker) ZombieMinion(Minions.Undead.ZombieMinion)

Aggregations

ZombieMinion (Minions.Undead.ZombieMinion)1 Sticker (cardgame1.Sticker)1