Package smack.down.ninjas

Source Code of smack.down.ninjas.NinjaMaster

package smack.down.ninjas;

import smack.down.Base;
import smack.down.Callback;
import smack.down.Faction;
import smack.down.Minion;

public class NinjaMaster extends Minion {

  public NinjaMaster() {
    super("Ninja Master", Faction.Ninjas, 5);
  }
 
  public void play(final Base base, Callback callback) {
    Minion minion = callback.selectMinionInPlay(base);
   
    if (minion != null)
      minion.destroy();
  }
}
TOP

Related Classes of smack.down.ninjas.NinjaMaster

TOP
Copyright © 2018 www.massapi.com. 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.