ActorAnimation constructor

ActorAnimation(
  1. String name,
  2. int fps,
  3. double duration,
  4. bool isLooping,
)

Implementation

ActorAnimation(String name, int fps, double duration, bool isLooping)
    : _name = name,
      _fps = fps,
      _duration = duration,
      _isLooping = isLooping;