private void __sendGameEndMessage(int winner)
        {
            var message = new Messages.GameEndMessage();

            message.winner = winner;

            GameServer.Instance.sendMessage(Messages.Type.GAME_END, message);
        }
        private void __handle_DISCONNECT(NetworkMessage networkMessage)
        {
            var message = new Messages.GameEndMessage();

            message.winner = GameServer.Instance.FirstId == networkMessage.conn.connectionId ? GameServer.Instance.SecondId : GameServer.Instance.FirstId;
            GameServer.Instance.sendMessage(Messages.Type.GAME_END, message);

            StateManager.Instance.makeTransition <States.ReadyState>();
        }