예제 #1
0
파일: Entity.cs 프로젝트: enjame/GGJ13
        protected virtual void OnDeactivate()
        {
            isActivated = false;
            Debug.Assert(ParentScreen.ContainsEntity(this));
            ParentScreen.RemoveEntity(this);

            if (Deactivated != null)
            {
                Deactivated(this);
            }
        }