Development merge #36
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user