Esempio n. 1
0
        protected override void handleAnimationEvent(object sender, AnimationEventArgs e)
        {
            switch (e.Type)
            {
            case AnimationEventType.HITBOX_ACTIVATE:
                character.setHitboxState(Character.HitboxPath.RIGHT_FOOT, true);
                break;

            case AnimationEventType.HITBOX_DEACTIVATE:
                character.setHitboxState(Character.HitboxPath.RIGHT_FOOT, false);
                break;
            }
        }
Esempio n. 2
0
 protected abstract void handleAnimationEvent(object sender, AnimationEventArgs e);