private static void RunOffensiveSeries(Original.FootballTeam team, OffensivePlay play) { for (int i = 0; i < 4; i++) { team.RunOffensivePlay(play); } }
public void RunOffensivePlay(OffensivePlay play) { switch (play) { case OffensivePlay.Balanced: break; case OffensivePlay.PassHappy: _timeForRunPlay = false; break; case OffensivePlay.BallControl: _timeForRunPlay = true; break; default: throw new ArgumentOutOfRangeException("play"); } RunBalancedPlay(); }