public virtual void spawnUnit(Unit u) { if (u != null) { u.constrUnit(Skript.getBattle(), getCurrentLane()); } else { Printer.justPrint(Printer.attackLog, "Error: Unit = null"); } }
// public override void spawnUnit(Unit un) { // if(un != null) { // un.constrUnit(Skript.getBattle(), getCurrentLane()); // } else { // Printer.justPrint("Error: Unit = null"); // } // } public bool spawnEnemy(Unit u) { ((Botplayer)Skript.getBattle().getPlayer(false)).receiveOrder(u); if (u != null) { return(true); } else { return(false); } }