Package com.drakulo.games.ais.ui.component

Examples of com.drakulo.games.ais.ui.component.ActionHandler


        for (String name : data.getSpecialActions()) {
          final ColonyAction sa = SpecialActionManager.get(
              GameData.getSelectedColony(), name);
          ImageButton btn = this.buildingButtons[col][row];
          btn.setImageRef(sa.getGfxKey());
          btn.setActionHandler(new ActionHandler() {

            @Override
            public void run() {
              if (ResourceHelper.enoughResourcesFor(sa
                  .getCostMap())) {
View Full Code Here

TOP

Related Classes of com.drakulo.games.ais.ui.component.ActionHandler

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.