From 221aa3faec797288a8352853921c0925519123a7 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 7 Dec 2021 16:05:09 +0100 Subject: [PATCH] fix ButtonListener.java --- .../main/java/fr/lnl/game/client/listener/ButtonListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/java/fr/lnl/game/client/listener/ButtonListener.java b/client/src/main/java/fr/lnl/game/client/listener/ButtonListener.java index 67dd340..0380c60 100644 --- a/client/src/main/java/fr/lnl/game/client/listener/ButtonListener.java +++ b/client/src/main/java/fr/lnl/game/client/listener/ButtonListener.java @@ -35,7 +35,7 @@ public class ButtonListener extends AbstractModelListening { alert.setTitle("Un joueur ordinateur a joué"); alert.setHeaderText("Le joueur ordinateur numéro" + player.getId() + " a joué"); alert.setContentText("Il a joué l'action: " + game.getSelectedAction()); */ - App.viewManager.updateView(); + App.getViewManager().updateView(); //alert.showAndWait(); } }