public class LevelObjectSprite extends MovieClip implements Tweener.Listener, MovieClip.Listener
MovieClip.Listener
flipHorizontal, flipVertical, texture
Constructor and Description |
---|
LevelObjectSprite() |
Modifier and Type | Method and Description |
---|---|
void |
fall() |
void |
move(int from,
int to) |
void |
onComplete(Animation anim) |
void |
onComplete(Tweener tweener) |
void |
playAnim(int fps,
boolean looped,
Callback animComplete,
int... framesSeq) |
void |
reset(int image) |
void |
reset(LevelObject object) |
void |
update() |
bottom, copy, draw, frame, frame, frame, texture, updateVerticesBuffer
alpha, alpha, brightness, center, center, color, color, hardlight, hardlight, height, invert, isVisible, lightness, overlapsPoint, overlapsScreenPoint, point, point, point, resetColor, Scale, Scale, setPos, setScale, tint, tint, width
camera, destroy, getParent, getVisible, hasParent, isActive, kill, killAndErase, remove, revive, setNullParent, setParent, setVisible
public void move(int from, int to)
public void fall()
public void reset(LevelObject object)
public void reset(int image)
public void onComplete(Tweener tweener)
onComplete
in interface Tweener.Listener
public void playAnim(int fps, boolean looped, Callback animComplete, int... framesSeq)
public void onComplete(Animation anim)
onComplete
in interface MovieClip.Listener