private void OnCardCollectionsInitialized(object sender, CardCollections.OnInitializedArgs args) { var playerCount = args.PlayerHands.Length; _CPUPlayerHands = new PlayerHand[playerCount - 1]; _CPUPlayers = new CPUPlayer[playerCount - 1]; for (var i = 0; i < playerCount - 1; i++) { _CPUPlayerHands[i] = args.PlayerHands[i + 1]; _CPUPlayers[i] = new CPUPlayer(_CPUPlayerHands[i], _CardCollections); } }
public OnCPUEndTurnArgs(CPUPlayer player) { Player = player; }
public OnCPUStartTurnArgs(CPUPlayer player) { Player = player; }