Why do some variables not reset after pushing the reset button?
public static int Number;
public myWorld() {
// Create a new world with 600x400 cells with a cell size of 1x1 pixels.
super(600, 400, 1);
resetStaticVariables();
}
private void resetStaticVariables() {
//then you just set your static variables to the value you want them to start at.
Number = 10;
}