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.

32 lines
748 B

2 years ago
2 years ago
  1. package base;
  2. import java.io.IOException;
  3. import playground.Level1;
  4. import playground.Level3;
  5. import playground.Level5;
  6. import playground.Level6;
  7. import playground.Level7;
  8. import playground.LevelBoss;
  9. import playground.LevelHitTwice;
  10. public class MultiLevelGame extends GameLoop{
  11. @Override
  12. void defineLevels() {
  13. this.resetLevels();
  14. this.addLevel(new Level5());
  15. this.addLevel(new Level6());
  16. this.addLevel(new Level7());
  17. //this.addLevel(new Level1());
  18. //this.addLevel(new LevelHitTwice());
  19. //this.addLevel(new Level3());
  20. //this.addLevel(new LevelBoss());
  21. }
  22. public static void main(String[] args) throws IOException {
  23. GameLoop mlg = new MultiLevelGame();
  24. mlg.runGame(args);
  25. }
  26. }