Package com.drakulo.games.ais.core.delayed

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


  /**
   * 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

Related Classes of com.drakulo.games.ais.core.delayed.DelayedAction

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.