Browse Source

refactoring: cleanup destroy Methode

main^2
fdai7906 11 months ago
parent
commit
b0a5abcb25
  1. 5
      src/main/java/de/hsfulda/onses/controllers/GameController.java

5
src/main/java/de/hsfulda/onses/controllers/GameController.java

@ -90,10 +90,7 @@ public class GameController implements Controller {
@Override
public void destroy() {
int i = 0;
while(i < controllers.size()) {
Controller controller = controllers.get(i++);
for (Controller controller : controllers) {
controller.destroy();
}
}

Loading…
Cancel
Save