I have a sort of garden (just an array) with stones, grass and a lawn mower robot ready to do its job. I also have a set of buttons to get a new random garden, save it to a file, load it back, and so forth.
The problem has come when I have started to add the AI algorithms. I can't convince Processing to redraw the screen, even if I call
redraw() from the depth-first-search method....
Is there any way to force a redraw? Can I manage myself the redrawing schedule?