Beispiel #1
0
  @FXML
  private void joinTable(javafx.event.ActionEvent event) throws ExistingUserException {
    Table ta = new Table("", null, true, true, 5, 2, true, 100, 30, 0, 0);

    ta.getListPlayers().addUser(user);
    ta.getListPlayers().addUser(new UserLight("pseudo2"));
    ta.getListPlayers().addUser(new UserLight("pseudo3"));
    ta.getListPlayers().addUser(new UserLight("pseudo4"));
    ta.getListPlayers().addUser(new UserLight("pseudo5"));

    ihmTable.getTableToMainListener().joinTable(IAmYourPaneLuke, ta);
  }
Beispiel #2
0
 @FXML
 private void launchTable(javafx.event.ActionEvent event) {
   ihmTable.getTableToMainListener().showTableCreationForm(IAmYourPaneLuke);
 }