Grisser les joueurs non ajoutés

This commit is contained in:
Yessine Ben El Bey
2020-04-20 14:39:19 +02:00
parent 0633478389
commit 1a59e9759a
7 changed files with 285 additions and 111 deletions

View File

@@ -15,11 +15,12 @@ import javafx.scene.layout.Pane;
public class PlayersController implements Initializable{
@FXML
private BorderPane rootPane;
@FXML
private TextField tf;
@Override
public void initialize(URL arg0, ResourceBundle arg1) {
// TODO Auto-generated method stub
tf.setEditable(false);
}
@FXML
@@ -28,4 +29,9 @@ public class PlayersController implements Initializable{
BorderPane pane = FXMLLoader.load(getClass().getResource("../ressources/Plateau.fxml"));
rootPane.getChildren().setAll(pane);
}
@FXML
public void ajoutJoueur(MouseEvent mouseEvent) throws IOException{
tf.setEditable(true);
}
}