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

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


        c.setResource(Resource.FOOD, BigDecimal.valueOf(1000));
        c.setResource(Resource.GAS, BigDecimal.valueOf(1000));
        final int selectedIndex = PlanetState.this.map
            .getSelectedZone();

        final HexagonMapAction a = new HexagonMapAction(2,
            PlanetState.this.map, PlanetState.this.map
                .getSelectedZone());
        a.setExploration(false);
        a.setCallback(new Runnable() {

          @Override
          public void run() {
            GameData.putInPool(c);
            PlanetState.this.map.addColonyAt(c, selectedIndex);
View Full Code Here


            // Not enought resources
            // TODO Play error sound
          } else {
            GameData.getSelectedColony().updateResource(
                Resource.GAS, BigDecimal.valueOf(-2500));
            HexagonMapAction a = new HexagonMapAction(10, this.map,
                this.map.getSelectedZone());
            GameData.addHexagonMapAction(a);
            stopZoneSelection();
          }
        } else if (this.colonizationSelection) {
View Full Code Here

TOP

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

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.