protected void ChangeAnimation(Animation animation) { currentAnimation = animation; currentAnimation.OnReset(); }