Examples of leaveGame()


Examples of mage.players.Player.leaveGame()

  @Override
  public synchronized void quit(UUID playerId) {
    Player player = state.getPlayer(playerId);
    if (player != null) {
      player.leaveGame(this);
      fireInformEvent(player.getName() + " has left the game.");
    }
  }

  @Override
View Full Code Here

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

            }

            User user = database.getUser(username);
            username = user.getName(); // as the case may have not been exactly correct when this method was called

            game.leaveGame( user );

            if (serverGame==null) {
                gameRemoved = destroyGameCheck(serverGame,gameId);
            }
            else {
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.