public void GameUpdate() { foreach (var minion in minions) { minion.gameUpdate(); } checkMinionsLife(); foreach (var card in player1.hand) { card.GetComponent <Card> ().GameUpdate(); } foreach (var card in player2.hand) { card.GetComponent <Card> ().GameUpdate(); } player1.GameUpdate(); player2.GameUpdate(); }