You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
489 B

  1. package base;
  2. import java.io.IOException;
  3. import playground.Level5;
  4. import playground.Level6;
  5. import playground.Level7;
  6. public class MultiLevelGame extends GameLoop {
  7. @Override
  8. void defineLevels() {
  9. this.resetLevels();
  10. this.addLevel(new Level5());
  11. this.addLevel(new Level6());
  12. this.addLevel(new Level7());
  13. }
  14. public static void main(String[] args) throws IOException {
  15. MultiLevelGame mlg = new MultiLevelGame();
  16. mlg.runGame(args);
  17. }
  18. }