private void NextTurn() { currentPlayer.EndTurn(); currentPlayer = (currentPlayer == player1) ? player2 : player1; currentPlayer.YourTurn(); playerTurnCoin.SetPlayerTurn(currentPlayer.index); }
void Start() { SelectWonderDebug(); //DisplayWondersSelection(); currentPlayer = player1; currentPlayer.YourTurn(); player2.EndTurn(); for (int i = 0; i < 3; i++) { cardsFromAge.Add(new List <GameObject>()); } for (int age = 1; age < 4; age++) { Object[] loaded = Resources.LoadAll("Age" + age); foreach (GameObject card in loaded) { cardsFromAge[age - 1].Add(card); } } setCardForAge(1); }