Created sprite animation.
Set stateTime to game time.