|
@ -4,6 +4,9 @@ import java.io.IOException; |
|
|
|
|
|
|
|
|
import playground.Level1; |
|
|
import playground.Level1; |
|
|
import playground.Level3; |
|
|
import playground.Level3; |
|
|
|
|
|
import playground.Level5; |
|
|
|
|
|
import playground.Level6; |
|
|
|
|
|
import playground.Level7; |
|
|
import playground.LevelBoss; |
|
|
import playground.LevelBoss; |
|
|
import playground.LevelHitTwice; |
|
|
import playground.LevelHitTwice; |
|
|
|
|
|
|
|
@ -12,10 +15,13 @@ public class MultiLevelGame extends GameLoop{ |
|
|
|
|
|
|
|
|
void defineLevels() { |
|
|
void defineLevels() { |
|
|
this.resetLevels(); |
|
|
this.resetLevels(); |
|
|
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()); |
|
|
|
|
|
//this.addLevel(new Level1()); |
|
|
|
|
|
//this.addLevel(new LevelHitTwice()); |
|
|
|
|
|
//this.addLevel(new Level3()); |
|
|
|
|
|
//this.addLevel(new LevelBoss()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public static void main(String[] args) throws IOException { |
|
|
public static void main(String[] args) throws IOException { |
|
|