private void ApplyFaildSecondBaseSteal(FieldState _fieldState) { // TODO: reintroduce proper logging // _fieldState.GetLog().addEvent(_fieldState.CurrentHalfInning, _fieldState.HomeTeamAtBat, _fieldState.RunnerOnFirst.FirstName + " is caught stealing second!"); _fieldState.RunnerOnFirst = null; _fieldState.IncreaseOuts(); //Temp StatsCounter.caughtStealing++; }
private void ApplyStrikeOut(FieldState _fieldState) { // TODO: reintroduce logging // _game.GetLog().addEvent(_game.CurrentHalfInning, _game.HomeTeamAtBat, _batter.FirstName + " strikes out!"); _fieldState.IncreaseOuts(); // TODO: K++ (batter) // TODO: K++ (pitcher) //Temp StatsCounter.strikeouts++; }
private void ApplyPickOff(FieldState _fieldState) { // TODO: reintroduce logging // _fieldState.GetLog().addEvent(_fieldState.CurrentHalfInning, _fieldState.HomeTeamAtBat, _fieldState.RunnerOnFirst.FirstName + " gets picked off first!"); _fieldState.RunnerOnFirst = null; _fieldState.IncreaseOuts(); //Temp for analysis StatsCounter.pickoffs++; }