Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Commit

Permalink
Removed some dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
vapour101 committed Aug 26, 2017
1 parent 9a46bcc commit 9026830
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/ui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
public class Main extends Application {

private Stage window;
private BorderPane layout;
private Parent localGame;
private Parent newLocalGameMenu;

public static void main(String[] args) {
Expand All @@ -51,7 +49,6 @@ public void start(Stage primaryStage) throws Exception {

newLocalGameMenu = loader.load();
loader.<NewLocalGameController>getController().setWindow(window);
//localGame = FXMLLoader.load(getClass().getResource("/localGame.fxml"));

//file menu, creating the main tabs
Menu fileMenu = new Menu("New...");
Expand All @@ -73,7 +70,7 @@ public void handle(ActionEvent event) {
MenuBar menuBar = new MenuBar();
menuBar.getMenus().addAll(fileMenu, exitMenu);

layout = new BorderPane();
BorderPane layout = new BorderPane();

layout.setTop(menuBar);
Scene scene = new Scene(layout, 400, 300);
Expand Down

0 comments on commit 9026830

Please sign in to comment.