|
|
@ -4,26 +4,33 @@ 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 { |
|
|
|
|
|
|
|
public static void main(String[] args) throws IOException { |
|
|
|
GameLoop gl = new MultiLevelGame(); |
|
|
|
MultiLevelGame gl = new MultiLevelGame(); |
|
|
|
gl.runGame(args); |
|
|
|
|
|
|
|
|
|
|
|
// TODO Auto-generated method stub |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
void defineLevels( ) { |
|
|
|
this.addLevel(new Level1()); |
|
|
|
this.addLevel(new LevelHitTwice()); |
|
|
|
this.addLevel(new Level3()); |
|
|
|
this.addLevel(new LevelBoss()); |
|
|
|
//this.addLevel(new Level1()); |
|
|
|
//this.addLevel(new LevelHitTwice()); |
|
|
|
//this.addLevel(new Level3()); |
|
|
|
//this.addLevel(new LevelBoss()); |
|
|
|
|
|
|
|
this.addLevel(new Level5()); |
|
|
|
this.addLevel(new Level6()); |
|
|
|
this.addLevel(new Level7()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |