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.

30 lines
769 B

//Coding Team 66
package base;
import java.io.IOException;
//importieren der neuen Level aus dem Package Playground
import playground.Level1;
import playground.Level3;
import playground.LevelBoss;
import playground.LevelHitTwice;
public class MultiLevelGame extends GameLoop{
//main wie bei GameLoop, nur das stattdessen Instanz von MulitLevelGame erstellt wird
public static void main(String[] args) throws IOException {
MultiLevelGame gl = new MultiLevelGame();
gl.runGame(args);
}
@Override //Überschreiben der Methode defineLevels
void defineLevels() {
this.resetLevels();
this.addLevel(new Level1());
this.addLevel(new LevelHitTwice());
this.addLevel(new Level3());
this.addLevel(new LevelBoss());
}
}