Package cero.games.uno

Examples of cero.games.uno.ActionSkipTurn


  @Override
  public boolean executer(String parametres) {
    Game game = CommandLineLauncher.getGame();
    Player player = CommandLineLauncher.getCurrentPlayer();

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


    /**
     * Action made when we skip our turn.
     */
    private void skipTurn() {
      ActionSkipTurn action = new ActionSkipTurn();
      try {
        action.playerActed(new ActionEvent(game, player, null, null,
            null));
        game.registerAction(action);
      } catch (ActionException e) {
        // there shouldn't be any problem here !
        e.printStackTrace();
View Full Code Here

TOP

Related Classes of cero.games.uno.ActionSkipTurn

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.