PlatformAnimations class
Constructors
-
PlatformAnimations({required FutureOr<
SpriteAnimation> idleRight, required FutureOr<SpriteAnimation> runRight, FutureOr<SpriteAnimation> ? idleLeft, FutureOr<SpriteAnimation> ? runLeft, PlatformJumpAnimations? jump, Map<String, FutureOr< ? others, Vector2? centerAnchor})SpriteAnimation> >
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
-
copyWith(
{FutureOr< SpriteAnimation> ? idleRight, FutureOr<SpriteAnimation> ? runRight, FutureOr<SpriteAnimation> ? idleLeft, FutureOr<SpriteAnimation> ? runLeft, PlatformJumpAnimations? jump, Map<String, FutureOr< ? others, Vector2? centerAnchor}) → PlatformAnimationsSpriteAnimation> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSimpleDirectionAnimation(
) → SimpleDirectionAnimation -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited