AnimationData class

Constructors

AnimationData()

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAnimation(String name, List<TextureRegion> regions, [bool loop = false, int frameRate = defaultFrameRate]) → void
addAnimationFromTexture(String name, Texture texture, double tileW, double tileH, [bool loop = false, int frameRate = defaultFrameRate]) → void
addAnimationRange(String name, List<TextureRegion> regions, int frameBegin, int frameEnd, [bool loop = false, int frameRate = defaultFrameRate]) → void
getAnimationSequence(String name) → AnimationSequence?
getTextureRegion(String name, int frame) TextureRegion?
isContains(String name) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
toString() String
A string representation of this object.
override

Operators

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

Constants

defaultFrameRate → const int