I want to move an actor by not hitting anything. it has to automatically move 2 cells to the right then 2 cells to the left
My code can make it turn 1 time but i want it to do it over and over after moving 2 cells
public void act()
{
move(1);
setRotation(180);
// Add your action code here.
}
