AnimationClip class

Inheritance

Constructors

AnimationClip(AnimationData _data, TextureRegion placeholder)

Properties

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

Methods

getAnimationName() String?
getCurrentFrame() int
getTextureRegion() TextureRegion
gotoFrame(int frame) int
hasAnimationFinished() bool
nextFrame() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
playAnimation(String name) → void
prevFrame() int
reset() → void
override
setAnimation(String name) → void
setPlay(bool value) → void
stopAnimation() → void
toString() String
A string representation of this object.
inherited
update(double deltaTime, BaseObject parent) → void
override

Operators

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