Updated javadoc.
This commit is contained in:
@@ -50,6 +50,7 @@ public class MainController extends Controller {
|
||||
/**
|
||||
* Transitions from the server selection screen to the pre-race lobby for a given server.
|
||||
* @param socket The server to read data from.
|
||||
* @param isHost is connection a host
|
||||
*/
|
||||
public void enterLobby(Socket socket, Boolean isHost) {
|
||||
startController.enterLobby(socket, isHost);
|
||||
|
||||
@@ -400,6 +400,7 @@ public class RaceController extends Controller {
|
||||
* Displays a specified race.
|
||||
* @param visualiserRace Object modelling the race.
|
||||
* @param controllerClient Socket Client that manipulates the controller.
|
||||
* @param isHost is user a host
|
||||
*/
|
||||
public void startRace(VisualiserRaceEvent visualiserRace, ControllerClient controllerClient, Boolean isHost) {
|
||||
|
||||
|
||||
@@ -250,7 +250,7 @@ public class StartController extends Controller {
|
||||
/**
|
||||
* Show starting information for a race given a socket.
|
||||
* @param socket network source of information
|
||||
* @param isHost
|
||||
* @param isHost is user a host
|
||||
*/
|
||||
public void enterLobby(Socket socket, Boolean isHost) {
|
||||
try {
|
||||
|
||||
@@ -144,7 +144,8 @@ public class App extends Application {
|
||||
|
||||
/**
|
||||
* Show the main stage after the splash screen
|
||||
* @throws Exception
|
||||
* @param stage main stage for application
|
||||
* @throws Exception Throws an exception on error
|
||||
*/
|
||||
public void showMainStage(Stage stage) throws Exception {
|
||||
App.stage = stage;
|
||||
@@ -174,8 +175,8 @@ public class App extends Application {
|
||||
/**
|
||||
* Show the splash screen
|
||||
* @param initStage Initial stage
|
||||
* @param task
|
||||
* @param initCompletionHandler
|
||||
* @param task Task for splash screen
|
||||
* @param initCompletionHandler initCompletionHandler interface
|
||||
*/
|
||||
private void showSplash(
|
||||
final Stage initStage,
|
||||
|
||||
Reference in New Issue
Block a user