Ejemplo n.º 1
0
        public override void Enter(object owner)
        {
            SwampCry boss = owner as SwampCry;

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

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

            WaitTime = WaitDelay;

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

            attackWaitTime = attackWaitDelay;

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