Browse Source

refactoring cleanup destroy Methode for PlayController

main^2
fdai7906 11 months ago
parent
commit
57aad8efb6
  1. 5
      src/main/java/de/hsfulda/onses/controllers/PlayerController.java

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

@ -55,10 +55,7 @@ public class PlayerController 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