158159160161162163164165166167168
Math.random()*1800)); } else if(e.getSource() == ResourceButton) { for(int i=0;i<num;i++) sim.add(new Resource(Math.random()*3200, Math.random()*1800, 20, 5)); } else if(e.getSource() == DeadInsectButton) {