Example #1
0
        public override void Enter(object owner)
        {
            SwampCry boss = owner as SwampCry;

            // Duration of the state
            boss.SetWait(1.7f);
        }
Example #2
0
        public override void Exit(object owner)
        {
            SwampCry boss = owner as SwampCry;

            WaitTime = 0.0f;
            boss.ResetWait();
        }
Example #3
0
        public override void Enter(object owner)
        {
            SwampCry boss = owner as SwampCry;

            WaitTime = WaitDelay;

            // Default duration of the state
            boss.ResetWait();
        }
Example #4
0
        public override void Enter(object owner)
        {
            SwampCry boss = owner as SwampCry;

            attackWaitTime = attackWaitDelay;

            // Duration of the state
            boss.SetWait(2.0f);
        }