Ejemplo n.º 1
0
        public void RemoveUser(IPlayer player)
        {
            // if player enters the room, its room id has to be set to this id.

            if (player != null)
            {
                if (_roomDAL.RemoveUser(player.Id, this.Id))
                {
                    Players.Remove(player);
                }
            }
        }