Ejemplo n.º 1
0
 private void onTurnEnded(GameTurnModel gameTurn)
 {
     updateTauntTiles();
 }
Ejemplo 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);
        }
Ejemplo n.º 3
0
 private void onTurnEnded(GameTurnModel turns)
 {
     view.init(PlayerCards(), OpponentCards());
     UpdateCardsPlayableStatus(cards.Cards);
 }
Ejemplo n.º 4
0
 private void onResourcesUpdated(GameTurnModel turns)
 {
     var currentResource = playerResources.resources[turns.currentPlayerId];
     var maxResources = playerResources.maxResources[turns.currentPlayerId];
     view.updateText(currentResource, maxResources);
 }
Ejemplo 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();
     }
 }
Ejemplo n.º 6
0
 private void onTurnEnded(GameTurnModel turns)
 {
     updateDecks();
 }
Ejemplo 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);
     }
 }