Added javadoc and extra files to push

This commit is contained in:
David Wu
2017-08-29 19:03:34 +12:00
parent 0621e1bdb1
commit 892320db5f
3 changed files with 186 additions and 0 deletions
@@ -97,6 +97,9 @@ public class HostController extends Controller {
hostWrapper.setVisible(true);
}
/**
* Menu button pressed. Prompt alert then return to menu
*/
public void menuBtnPressed(){
Alert alert = new Alert(Alert.AlertType.CONFIRMATION);
alert.setTitle("Quitting race");
@@ -109,6 +112,9 @@ public class HostController extends Controller {
}
}
/**
* Start button pressed. Currently only prints out start
*/
public void startBtnPressed(){
System.out.println("Should start the race. This button is only visible for the host");
}