use of com.bladecoder.engine.anim.SpriteAlphaTween in project bladecoder-adventure-engine by bladecoder.
the class AlphaAnimAction method run.
@Override
public boolean run(VerbRunner cb) {
SpriteActor a = (SpriteActor) World.getInstance().getCurrentScene().getActor(actor, true);
SpriteAlphaTween t = new SpriteAlphaTween();
t.start(a, repeat, count, alpha, speed, interpolation, wait ? cb : null);
a.addTween(t);
return wait;
}
Aggregations