Examples of DelayedAction


Examples of com.drakulo.games.ais.core.delayed.DelayedAction

    // Current action
    String title = null;
    BigDecimal maxValue = null;
    BigDecimal value = null;
    DelayedAction a = getSelectedBuildingAction();
    this.selectedBuildingPB.setFilledColor(Color.red);
    if (a instanceof BuildingAction) {
      BuildingAction ba = (BuildingAction) a;
      if (ba.isUpgrade()) {
        // Upgrade process
View Full Code Here

Examples of com.drakulo.games.ais.core.delayed.DelayedAction

  /**
   * Stops the selected building action
   */
  private void stopSelectedBuildingAction() {
    DelayedAction a = getSelectedBuildingAction();

    // Robot release
    GameData.getSelectedColony().releaseRobots(a.getRobotsUsed());

    // Deletion of the action in the GameData
    if (a instanceof BuildingAction) {
      BuildingAction ba = (BuildingAction) a;
      GameData.getSelectedColony().getBuildingActions().remove(ba);
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.