public class MainController
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
username |
Constructor | Description |
---|---|
MainController() |
Modifier and Type | Method | Description |
---|---|---|
void |
handleHostGameButtonAction(javafx.event.ActionEvent actionEvent) |
Response to clicking the host game menu button.
|
void |
handleJoinGameButtonAction(javafx.event.ActionEvent actionEvent) |
Response to pressing the join game menu button.
|
void |
handleQuitButtonAction(javafx.event.ActionEvent actionEvent) |
Response to clicking the quit button.
|
public void handleJoinGameButtonAction(javafx.event.ActionEvent actionEvent)
actionEvent
- -> The click event triggering the buttonpublic void handleHostGameButtonAction(javafx.event.ActionEvent actionEvent)
actionEvent
- -> The click event triggering the buttonpublic void handleQuitButtonAction(javafx.event.ActionEvent actionEvent)
actionEvent
- -> The click event triggering the button