AnimationSelection class

Represents a specific selection of Flame Sprites as an animation.

Inheritance

Constructors

AnimationSelection({required Selection info, required int frameCount, required double stepTime, required bool loop})
Represents a specific selection of Flame Sprites as an animation.
AnimationSelection.fromJson(Map<String, dynamic> json)
Creates a AnimationSelection from json.
factory

Properties

frameCount int
The number of frames of this animation.
getter/setter pair
h int
The height of the selection.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The id of the selection.
no setterinherited
loop bool
If the animation is looping or not.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stepTime double
The time between each frame.
getter/setter pair
w int
The width of the selection.
no setterinherited
x int
The horizontal coordinate of the selection.
no setterinherited
y int
The vertical coordinate of the selection.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns this instance as json.
override
toString() String
A string representation of this object.
inherited

Operators

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