SpriteAnimationFrame constructor

SpriteAnimationFrame(
  1. Sprite sprite,
  2. double stepTime
)

Create based on the parameters.

Implementation

SpriteAnimationFrame(this.sprite, this.stepTime);