Package smack.down

Examples of smack.down.DeckCard


  public GraveDigger() {
    super("Grave Digger", Faction.Zombies, 4);
  }
 
  public void play(Base base, Callback callback) {
    DeckCard card = callback.selectFromDiscard("Select card and put into your hand.", true, Callback.minionPredicate());
   
    if (card != null) {
      getOwner().getDiscardPile().remove(card);
      getOwner().getHand().add(card);
    }
View Full Code Here


  public Walker() {
    super("Walker", Faction.Zombies, 2);
  }
 
  public void play(Base base, Callback callback) {
    DeckCard card = getOwner().peek();
   
    if (card == null)
      return;
   
    if (callback.confirm("Put \"" + card.getName() + "\" in discard pile?")) {
      getOwner().draw();
      card.discard();
    }
  }
View Full Code Here

TOP

Related Classes of smack.down.DeckCard

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.