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