Exemplo n.º 1
0
        public Game(InMatchTeam _homeTeam, InMatchTeam _awayTeam)
        {
            atBatSimulator = new AtBatSimulator();
            plateAppearanceSimulator = new PlateAppearanceSimulator();
            baseRunningBatSimulator = new BaseRunningSimulator();
            defensivePlaySimulator = new DefensivePlaySimulator();
            baseStealingSimulator = new BaseStealingSimulator();

            home = _homeTeam;
            away = _awayTeam;
            fieldState = new FieldState();
            gameLog = new GameLog();
            gameLog.startInning(currentInning, homeTeamAtBat);
        }