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