PlatformAnimations class

Constructors

PlatformAnimations({required FutureOr<SpriteAnimation> idleRight, required FutureOr<SpriteAnimation> runRight, FutureOr<SpriteAnimation>? idleLeft, FutureOr<SpriteAnimation>? runLeft, PlatformJumpAnimations? jump, Map<String, FutureOr<SpriteAnimation>>? others, Vector2? centerAnchor})

Properties

centerAnchor Vector2?
final
hashCode int
The hash code for this object.
no setterinherited
idleLeft FutureOr<SpriteAnimation>?
final
idleRight FutureOr<SpriteAnimation>
final
jump PlatformJumpAnimations?
final
others Map<String, FutureOr<SpriteAnimation>>?
final
runLeft FutureOr<SpriteAnimation>?
final
runRight FutureOr<SpriteAnimation>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited