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; } }
protected abstract void handleAnimationEvent(object sender, AnimationEventArgs e);