public Game(Player p1, Player p2, Player activePlayer) { Player1 = p1; Player2 = p2; ActivePlayer = activePlayer; Innings.Add(new Inning(Player1, Player2)); }
public void Miss() { if (ActivePlayer == Player1) { ActivePlayer = Player2; } else { ActivePlayer = Player1; Innings.Add(new Inning(Player1, Player2)); } GameEvents.Push(GameEvent.Miss); }