예제 #1
0
        /// <summary>
        /// Removes the guest from the hotel
        /// </summary>
        private void _removeMe()
        {
            if (Path.Any())
            {
                _Move();
            }
            else
            {
                SetPath(Hotel.GetArea(typeof(Reception)));
                FinalDes = Hotel.GetArea(typeof(Reception));
            }

            if (Area is Reception)
            {
                Hotel.RemoveGuest(this);
            }
        }