Update SpriteAnimation.cs