Hey is there a code for delaying an actor not the whole world?


public void act() { if (counter>0) counter--; // if delaying, run timer if (counter>0) return; // if time not elapsed, exit method // do what you normally would do (not delaying) }
private int counter;