mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
- Validation completely done
- Some documentation added. tags : #story[1245]
This commit is contained in:
@@ -6,13 +6,14 @@ import javafx.scene.effect.DropShadow;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.paint.Color;
|
||||
|
||||
|
||||
public class PlayerCell {
|
||||
|
||||
//--------FXML BEGIN--------//
|
||||
@FXML
|
||||
private Label playerName;
|
||||
|
||||
@FXML
|
||||
private GridPane playerListCell;
|
||||
//---------FXML END---------//
|
||||
|
||||
private String name;
|
||||
|
||||
|
||||
@@ -67,7 +67,10 @@ public class ServerCell implements Initializable {
|
||||
serverConnButton.setOnMouseReleased(event -> joinServer());
|
||||
}
|
||||
|
||||
public void joinServer() {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private void joinServer() {
|
||||
System.out.println("Connecting to " + serverName.getText());
|
||||
ViewManager.getInstance().getGameClient().runAsClient(hostName, portNumber);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user