Sprite class
class Sprite
- Inheritance
-
- Object
- ThinSprite
- Sprite
- Implemented types
- Annotations
-
- @JS()
Constructors
- Sprite(String name, ISpriteManager manager)
Properties
- actionManager ↔ ActionManager
-
getter/setter pair
- angle ↔ num
-
getter/setter pairinherited
-
animations
↔ List<
Animation> -
getter/setter pairoverride
- animationStarted → bool
-
no setterinherited
- cellIndex ↔ num
-
getter/setter pairinherited
- cellRef ↔ String
-
getter/setter pairinherited
- color ↔ IColor4Like
-
getter/setter pairinherited
- delay ↔ num
-
getter/setter pairoverride-getter
- disposeWhenFinishedAnimating ↔ bool
-
getter/setter pair
- fromIndex ↔ num
-
getter/setter pairoverride-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ num
-
getter/setter pairinherited
- invertU ↔ bool
-
getter/setter pairinherited
- invertV ↔ bool
-
getter/setter pairinherited
- isPickable ↔ bool
-
getter/setter pair
- isVisible ↔ bool
-
getter/setter pairinherited
- loopAnimation ↔ bool
-
getter/setter pairoverride-getter
- manager → ISpriteManager
-
no setter
- name ↔ String
-
getter/setter pair
-
onDisposeObservable
↔ Observable<
Sprite> -
getter/setter pair
- position ↔ IVector3Like
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ num
-
getter/setter pair
- toIndex ↔ num
-
getter/setter pairoverride-getter
- uniqueId ↔ num
-
getter/setter pair
- useAlphaForPicking ↔ bool
-
getter/setter pair
- width ↔ num
-
getter/setter pairinherited
Methods
-
dispose(
) → void -
getClassName(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
playAnimation(
num from, num to, bool loop, num delay, void onAnimationEnd()) → void -
override
-
serialize(
) → dynamic -
stopAnimation(
) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited