Package net.yura.lobby.database

Examples of net.yura.lobby.database.GameRoom.joinGame()


            // we need to increase the number of available places in this game
            // to allow this new player to be added to it with game.joinGame
            if (serverGame!=null) {
                game.setMaxPlayers( game.getMaxPlayers()+1 );
            }
            game.joinGame( user );

            database.saveGame(game);
        }
        finally {
            database.endTransaction();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.