SpriteState<T> class
final
What a SpriteNode is drawing.
Properties
- frame → int
-
The frame drawn, counted from the start of the entry.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
Where the entry playing sits in the node's sprite.
no setter
- isFinished → bool
-
Whether a non-looping entry has reached its final frame.
no setter
- key → T
-
What that entry answers to.
no setter
- loops → bool
-
Whether the entry playing starts over after its final frame.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → Shape
-
One frame of the entry playing, as a rectangle.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited