()
| 71 | |
| 72 | |
| 73 | @Override |
| 74 | public void initGui() { |
| 75 | |
| 76 | int numberOfParticles = (this.width * this.height) / particlesDensity; |
| 77 | particles.clear(); |
| 78 | for (int i = 0; i < numberOfParticles; i++) { |
| 79 | particles.add(new Particle(this.width, this.height)); |
| 80 | } |
| 81 | |
| 82 | addButtons(); |
| 83 | super.initGui(); |
| 84 | } |
| 85 | |
| 86 | @Override |
| 87 | protected void actionPerformedMenu(MainMenuButton buttonMenu) throws IOException { |
nothing calls this directly
no test coverage detected