public override void LoadContent(ContentManager content) { // Load the animation DrawableSet.LoadDrawableSetXml(Drawables, ANIMATION, content); foreach (GameDrawableInstance instance in Drawables.GetByGroup("Body")) { if (instance.Drawable is Animation) { Animation anim = (Animation)instance.Drawable; //anim.onAnimationFinished += new Animation.AnimationFinishedEventHandler(anim_onAnimationFinished); } } CurrentDrawableState = "Idle_" + Direction; base.LoadContent(content); }