Package cero.games

Examples of cero.games.Zone


      collection.addAll(game.getZones());
      collection
          .addAll(CommandLineLauncher.getCurrentPlayer().getZones());
      print(collection);
    } else {
      Zone zone = CommandLineLauncher.getGame().getZones()
          .get(parametres);
      if (zone == null) {
        zone = CommandLineLauncher.getCurrentPlayer().getZones().get(
            parametres);
        if (zone == null) {
View Full Code Here


    /**
     * Action made when we play a card.
     */
    private void playCard() {
      Zone from = player.getZones().get("Hand");
      Zone to = game.getZones().get("Talon");
      Card playedcard = getGCard().getCard();
      // FIXME we shouldn't have to check for such things...
      boolean cardfound = false;
      for (Card c : from) {
        if (c == playedcard) {
View Full Code Here

     */
    private void drawCard() {
      if (playerhaspicked)
        skipTurn();
      else {
        Zone from = game.getZones().get("Stock");
        Zone to = player.getZones().get("Hand");

        ActionPick action = new ActionPick();
        try {
          action.playerActed(new ActionEvent(game, player, from, to,
              null));
View Full Code Here

TOP

Related Classes of cero.games.Zone

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.