Exemple #1
0
        public void Detach()
        {
            if (this.AttachedItem != null)
            {
                this.AttachedItem.Moved -= this.OnItemMoved;
                this.AttachedItem.SetInterestAreaAttached(false);
                this.AttachedItem = null;
            }

            Operations.DetachInterestArea(this.game);
        }