package base; import java.io.IOException; import playground.Level1; import playground.Level3; import playground.Level5; import playground.Level6; import playground.Level7; import playground.LevelBoss; import playground.LevelHitTwice; import playground.LevelWithBox; public class MultiLevelGame extends GameLoop { @Override void defineLevels() { this.addLevel(new LevelWithBox()); this.addLevel(new Level5()); this.addLevel(new Level6()); this.addLevel(new Level7()); } public static void main(String[] args) throws IOException { MultiLevelGame prog2 = new MultiLevelGame(); prog2.runGame(args); } }