Example #1
0
        internal override void NowOffScreen()
        {
            if (ImageLocation == null)
            {
                return;
            }

            if (ImageLocation.DecreaseUsage())
            {
                ImageLocation = null;
            }
        }
        /// <summary>Called when this character goes on screen.</summary>
        public void OffScreen()
        {
            if (Location == null)
            {
                return;
            }

            if (Location.DecreaseUsage())
            {
                Location = null;
            }
        }