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
32 lines
748 B
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;
|
|
|
|
public class MultiLevelGame extends GameLoop{
|
|
@Override
|
|
|
|
void defineLevels() {
|
|
this.resetLevels();
|
|
this.addLevel(new Level5());
|
|
this.addLevel(new Level6());
|
|
this.addLevel(new Level7());
|
|
//this.addLevel(new Level1());
|
|
//this.addLevel(new LevelHitTwice());
|
|
//this.addLevel(new Level3());
|
|
//this.addLevel(new LevelBoss());
|
|
}
|
|
|
|
public static void main(String[] args) throws IOException {
|
|
GameLoop mlg = new MultiLevelGame();
|
|
mlg.runGame(args);
|
|
}
|
|
}
|
|
|