Skip to content
Permalink
1f157298c4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
24 lines (17 sloc) 527 Bytes
package menu;
import java.io.FileNotFoundException;
import java.io.IOException;
import game.Game;
import level.LevelHandler;
public class Menu {
// Will display options. This is the main menu.
// Currently jumps right to a game.
public void run() throws IOException{
Game game = new Game();
// Show menu options here
// Control flow to select level, game modes, etc.
// Pretend a test level was selected
LevelHandler chosenLevel = new LevelHandler("/res/test.txt");
game.setLevel(chosenLevel);
}
}