public class CharSprite extends CompositeMovieClip implements Tweener.Listener, MovieClip.Listener
Modifier and Type | Class and Description |
---|---|
static class |
CharSprite.State |
MovieClip.Listener
Modifier and Type | Field and Description |
---|---|
static int |
BLUE |
Char |
ch |
static int |
DEFAULT |
boolean |
isMoving |
static int |
NEGATIVE |
static int |
NEUTRAL |
static int |
POSITIVE |
static int |
WARNING |
flipHorizontal, flipVertical, texture
Constructor and Description |
---|
CharSprite() |
Modifier and Type | Method and Description |
---|---|
void |
add(CharSprite.State state) |
void |
attack(int cell) |
void |
attack(int cell,
Callback callback) |
CompositeTextureImage |
avatar() |
int |
blood() |
void |
bloodBurstA(PointF from,
int damage) |
Emitter |
bottomEmitter() |
void |
burst(int color,
int n) |
Emitter |
centerEmitter() |
void |
die() |
Emitter |
emitter() |
void |
flash() |
void |
hideAlert() |
void |
hideSleep() |
void |
idle() |
void |
interruptMotion() |
void |
kill() |
void |
link(Char ch) |
void |
move(int from,
int to) |
void |
onComplete(Animation anim) |
void |
onComplete(Tweener tweener) |
void |
operate(int cell) |
void |
place(int cell) |
void |
play(Animation anim) |
void |
remove(CharSprite.State state) |
void |
removeAllStates() |
void |
selectKind(int i) |
void |
showAlert() |
void |
showMindControl() |
void |
showSleep() |
void |
showStatus(int color,
java.lang.String text,
java.lang.Object... args) |
void |
turnTo(int from,
int to) |
void |
update() |
PointF |
worldToCamera(int cell) |
void |
zap(int cell) |
void |
zap(int cell,
Callback callback) |
draw, setLayerState, setLayerTexture
bottom, copy, 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, killAndErase, remove, revive, setNullParent, setParent, setVisible
public static final int DEFAULT
public static final int POSITIVE
public static final int NEGATIVE
public static final int WARNING
public static final int NEUTRAL
public static final int BLUE
public Char ch
public boolean isMoving
public void link(Char ch)
public PointF worldToCamera(int cell)
public void place(int cell)
public void showStatus(int color, java.lang.String text, java.lang.Object... args)
public void idle()
public void move(int from, int to)
public void interruptMotion()
public void attack(int cell)
public void attack(int cell, Callback callback)
public void operate(int cell)
public void zap(int cell)
public void zap(int cell, Callback callback)
public void turnTo(int from, int to)
public void die()
public Emitter emitter()
public Emitter centerEmitter()
public Emitter bottomEmitter()
public void burst(int color, int n)
public void bloodBurstA(PointF from, int damage)
public int blood()
public void flash()
public void add(CharSprite.State state)
public void removeAllStates()
public void remove(CharSprite.State state)
public void showSleep()
public void hideSleep()
public void showMindControl()
public void showAlert()
public void hideAlert()
public void onComplete(Tweener tweener)
onComplete
in interface Tweener.Listener
public void onComplete(Animation anim)
onComplete
in interface MovieClip.Listener
public void selectKind(int i)
public CompositeTextureImage avatar()