PlatformAnimations constructor
PlatformAnimations({
- required FutureOr<
SpriteAnimation> idleRight, - required FutureOr<
SpriteAnimation> runRight, - FutureOr<
SpriteAnimation> ? idleLeft, - FutureOr<
SpriteAnimation> ? runLeft, - PlatformJumpAnimations? jump,
- Map<
String, FutureOr< ? others,SpriteAnimation> > - Vector2? centerAnchor,
Implementation
PlatformAnimations({
required this.idleRight,
required this.runRight,
this.idleLeft,
this.runLeft,
this.jump,
this.others,
this.centerAnchor,
});