SpriteAnimation class
Constructors
- SpriteAnimation.new({int numberOfTiles = 0, int startFrame = 0, int repeat = -1, int fps = 60, int duration = -1, int tilesHorizontal = -1, int tilesVertical = -1, SpriteTexture? texture})
Properties
- currentTile ↔ int
-
getter/setter pair
- duration ↔ int
-
getter/setter pair
- fps ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- looped ↔ int
-
getter/setter pair
- numberOfTiles ↔ int
-
getter/setter pair
- repeat ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startFrame ↔ int
-
getter/setter pair
- texture ↔ SpriteTexture
-
getter/setter pair
- tilesHorizontal ↔ int
-
getter/setter pair
- tilesVertical ↔ int
-
getter/setter pair
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