public GameStage() { CurrentLevel = Level.LEVEL1; switch(CurrentLevel) { case Level.LEVEL1: level1 = new Level1(); break; case Level.LEVEL2: level2 = new Level2(); break; } }
public GameStage() { CurrentLevel = Level.LEVEL1; switch (CurrentLevel) { case Level.LEVEL1: level1 = new Level1(); break; case Level.LEVEL2: level2 = new Level2(); break; } }