Package com.drakulo.games.ais.core.building

Examples of com.drakulo.games.ais.core.building.Building.upgrade()


        // We have to update the building list in the game data.
        Building building = action.getBuilding();

        if (action.isUpgrade()) {
          building.upgrade();// Uprade
          building.setUpgrading(false); // The upgrading is done
        } else {
          // If the created building is unique, a flag must be set
          if (BuildingType.RESEARCH_CENTER.equals(building.getType())) {
            c.setResearchCenterBuilt(true);
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.