Package com.jcloisterzone.action

Examples of com.jcloisterzone.action.TilePlacementAction


        bridgeCap = game.getCapability(BridgeCapability.class);
    }

    @Override
    public void enter() {
      TilePlacementAction action = new TilePlacementAction(game.getCurrentTile());
      for (Entry<Position, Set<Rotation>> entry: getBoard().getAvailablePlacements().entrySet()) {
        for (Rotation rotation : entry.getValue()) {
          action.add(new TilePlacement(entry.getKey(), rotation));
        }
      }
        game.post(new SelectActionEvent(getActivePlayer(), action, false));
    }
View Full Code Here

TOP

Related Classes of com.jcloisterzone.action.TilePlacementAction

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.