Open CaseyJScalf opened 5 years ago
I think line 31 should read something like this or the boxes just keep appearing regardless if you click your mouse or not.
// When the mouse is clicked, add a new Box object if (mousePressed) { Box p = new Box(mouseX, mouseY); boxes.add(p); }
I think line 31 should read something like this or the boxes just keep appearing regardless if you click your mouse or not.
// When the mouse is clicked, add a new Box object if (mousePressed) { Box p = new Box(mouseX, mouseY); boxes.add(p); }