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