private void onTurnEnded(GameTurnModel gameTurn)
 {
     updateTauntTiles();
 }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 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);
 }
Esempio n. 5
0
 private void onTurnEnd(GameTurnModel turn)
 {
     //for hotseat mode update the colors each turn to reflect the current player
     if (players.isHotseat)
     {
         view.UpdatePlayerColors();
     }
 }
Esempio n. 6
0
 private void onTurnEnded(GameTurnModel turns)
 {
     updateDecks();
 }
Esempio n. 7
0
 private void onTurnEnded(GameTurnModel turns)
 {
     var opponentId = players.OpponentId(turns.currentPlayerId);
     foreach (var piece in pieces.Pieces)
     {
         piece.pieceView.UpdateTurn(opponentId, turns.currentPlayerId);
     }
 }