Fixing errors
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -214,5 +214,6 @@ public void setTaken(Taken taken, String name) {
|
||||
|
||||
public void setReady(boolean isReady) {
|
||||
this.isReady = isReady;
|
||||
onUnHover();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user