Package cero.games.uno

Examples of cero.games.uno.ActionPick


    //FIXME : use top card instead !
    Card playedcard = from.getSortedList().get(0);
    ArrayList<Card> colcards = new ArrayList<Card>();
    colcards.add(playedcard);

    ActionPick action = new ActionPick();
    try {
      action
          .playerActed(new ActionEvent(game, player, from, to,
              colcards));
    } catch (ActionException e) {
      // there shouldn't be any problem here !
      e.printStackTrace();
View Full Code Here


        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));
          game.registerAction(action);

        } catch (ActionException e) {
          // there shouldn't be any problem here !
View Full Code Here

TOP

Related Classes of cero.games.uno.ActionPick

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.