Fixing errors

This commit is contained in:
Felix Koppe
2024-11-30 13:47:34 +01:00
parent f3bc6bc2f0
commit 0393e9b534
3 changed files with 3 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ public void enter(MdgaState state) {
if (state == MdgaState.GAME) {
GameView gameView = (GameView) app.getView();
app.getNotificationSynchronizer().addTestNotification(new DrawCardNotification(Color.AIRFORCE, BonusCard.SHIELD));
//app.getNotificationSynchronizer().addTestNotification(new DrawCardNotification(Color.AIRFORCE, BonusCard.SHIELD));
}
if (state == MdgaState.LOBBY) {

View File

@@ -30,7 +30,7 @@ public class BoardHandler {
private Map<Color, List<PieceControl>> waitingPiecesMap;
private Map<UUID, Color> pieceColor;
private Node node;
private Node node = new Node();
private final Node rootNode;
private final FilterPostProcessor fpp;
@@ -51,8 +51,6 @@ public BoardHandler(MdgaApp app, Node rootNode, FilterPostProcessor fpp) {
this.fpp = fpp;
this.rootNode = rootNode;
isInitialised = false;
node = new Node("BoardHandler root node");
}
public void init() {

View File

@@ -214,5 +214,6 @@ public void setTaken(Taken taken, String name) {
public void setReady(boolean isReady) {
this.isReady = isReady;
onUnHover();
}
}