so im trying to get an actor to move after a certain amount of time i think this code should work but it does nothing
int moveDelay = 0; private void move() { moveDelay++; if (moveDelay == 250) { setLocation(getX(), getY()-1); moveDelay = 0; } } public void act() { } }