Created UI option in the start menu to play a practice game. #story[1189]

This commit is contained in:
David Wu
2017-08-30 13:26:18 +12:00
parent 7086af6057
commit 23d58dc809
2 changed files with 19 additions and 0 deletions
@@ -5,6 +5,7 @@ import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.RadioButton;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Modality;
@@ -31,6 +32,8 @@ public class TitleController extends Controller {
RadioButton dayModeRD;
@FXML
RadioButton nightModeRD;
@FXML
Label tutorialLabel;
/**
* Method called when the 'host a game' button is pressed.
@@ -81,6 +84,7 @@ public class TitleController extends Controller {
@Override
public void initialize(URL location, ResourceBundle resources) {
tutorialLabel.setWrapText(true);
}
@@ -105,4 +109,11 @@ public class TitleController extends Controller {
}
}
/**
* start tutorial event called
*/
public void tutorialStartPressed(){
System.out.println("Start the tutorial!");
}
}