Package net.socialgamer.cah.data

Examples of net.socialgamer.cah.data.GameOptions


    } else if (game.getState() != GameState.LOBBY) {
      return error(ErrorCode.ALREADY_STARTED);
    } else {
      try {
        final String value = request.getParameter(AjaxRequest.GAME_OPTIONS);
        final GameOptions options = GameOptions.deserialize(value);
        final String oldPassword = game.getPassword();
        game.updateGameSettings(options);

        // only broadcast an update if the password state has changed, because it needs to change
        // the text on the join button and the sort order
View Full Code Here

TOP

Related Classes of net.socialgamer.cah.data.GameOptions

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.