private void onTurnEnded(GameTurnModel gameTurn) { updateTauntTiles(); }
private void onTurnEnded(GameTurnModel turns) { var opponentId = players.OpponentId(gameTurn.currentPlayerId); var text = "End Turn"; if (gameTurn.currentPlayerId == opponentId) { text = "Enemy Turn"; } view.onTurnEnded(text); }
private void onTurnEnded(GameTurnModel turns) { view.init(PlayerCards(), OpponentCards()); UpdateCardsPlayableStatus(cards.Cards); }
private void onResourcesUpdated(GameTurnModel turns) { var currentResource = playerResources.resources[turns.currentPlayerId]; var maxResources = playerResources.maxResources[turns.currentPlayerId]; view.updateText(currentResource, maxResources); }
private void onTurnEnd(GameTurnModel turn) { //for hotseat mode update the colors each turn to reflect the current player if (players.isHotseat) { view.UpdatePlayerColors(); } }
private void onTurnEnded(GameTurnModel turns) { updateDecks(); }
private void onTurnEnded(GameTurnModel turns) { var opponentId = players.OpponentId(turns.currentPlayerId); foreach (var piece in pieces.Pieces) { piece.pieceView.UpdateTurn(opponentId, turns.currentPlayerId); } }