merge the new developmentbranch into the test branch #39

Closed
j23f0712 wants to merge 431 commits from development2 into dev/test
Showing only changes of commit c4e7fb1d41 - Show all commits

View File

@@ -88,17 +88,17 @@ public void confirm() {
GameView gameView = (GameView) app.getView(); GameView gameView = (GameView) app.getView();
if(a != null && b != null) { if(a != null && b != null) {
selectPiece(a); app.getGameLogic().selectPiece(a);
selectPiece(b); app.getGameLogic().selectPiece(b);
gameView.getBoardHandler().clearSelectable(); gameView.getBoardHandler().clearSelectable();
} else if (a != null) { } else if (a != null) {
selectPiece(a); app.getGameLogic().selectPiece(a);
gameView.getBoardHandler().clearSelectable(); gameView.getBoardHandler().clearSelectable();
} else { } else {
if(null == card) { if(null == card) {
selectCard(null); app.getGameLogic().selectCard(null);
} else { } else {
selectCard(card); app.getGameLogic().selectCard(card);
gameView.getGuiHandler().clearSelectableCards(); gameView.getGuiHandler().clearSelectableCards();
} }
} }