Package civquest.units.gameChange

Examples of civquest.units.gameChange.ConstructUnit.execute()


      if (field != null) {
        if (activeNation != null) {
          ConstructUnit newUnitChange
            = new ConstructUnit(field.getPosition(),
                      activeNation.getID());
          newUnitChange.execute();
        } else {
          Messages.getMessages().info("ConstructTestUnit", "QMapWarn",
                        "When constructing test unit: "
                        + "No active nation!");
        }
View Full Code Here


            Nation nation = this.scenarioEditor.getSelectedNation();
            Coordinate coordinate = this.map.getWorkingFieldPos();
            if (coordinate != null) {
                ConstructUnit newUnitChange = new ConstructUnit(
                        coordinate, nation.getID());
                newUnitChange.execute();
            }
        }
    }
}
View Full Code Here

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.