public SpriteAnimationHelper(SpriteAnimation spriteAnimation)
 {
     CurrentAnimation = spriteAnimation;
 }
 public void ChangeAnimation(SpriteAnimation spriteAnimation)
 {
     animationTime = 0f;
     CurrentAnimation = spriteAnimation;
 }
 public void Play(SpriteAnimation animation)
 {
     state = SpriteAnimationState.Playing;
     spriteAnimationHelper.ChangeAnimation(animation);
 }