Beispiel #1
0
        protected override void OnStart()
        {
            base.OnStart();

            HeartVFX = new RallyWinkHeartVFX(EntitiesAffected[0].Position, WaitDur, WaitDur, .6f);

            if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true)
            {
                RallyWinkUI = new RallyWinkActionCommandUI(actionCommand as RallyWinkCommand);
                User.BManager.battleUIManager.AddUIElement(RallyWinkUI);
            }
        }
        protected override void OnEnd()
        {
            if (HeartVFX != null)
            {
                //Ensure the heart will be removed
                if (HeartVFX.ReadyForRemoval == false && HeartVFX.HeartState != RallyWinkHeartVFX.HeartStates.FadeOut)
                {
                    HeartVFX.FadeOut();
                }
            }

            HeartVFX = null;
        }
Beispiel #3
0
        protected override void OnEnd()
        {
            if (HeartVFX != null)
            {
                //Ensure the heart will be removed
                if (HeartVFX.ReadyForRemoval == false && HeartVFX.HeartState != RallyWinkHeartVFX.HeartStates.FadeOut)
                {
                    HeartVFX.FadeOut();
                }
            }

            HeartVFX = null;

            if (RallyWinkUI != null)
            {
                User.BManager.battleUIManager.RemoveUIElement(RallyWinkUI);
                RallyWinkUI = null;
            }
        }
        protected override void OnStart()
        {
            base.OnStart();

            HeartVFX = new RallyWinkHeartVFX(EntitiesAffected[0].Position, WaitDur, WaitDur, .6f);
        }