Ejemplo n.º 1
0
 public TeamSimulationOutcome(TeamSimulationDetails sim)
 {
     SimDetails = sim;
     SimDetails.Outcomes.Add(this);
     foreach (BasketballPlayer p in SimDetails.Players)
     {
         BasketballPerformance perf = new BasketballPerformance()
         {
             Player = p
         };
         this.Performances.Add(perf);
     }
 }
Ejemplo n.º 2
0
 public Simulation(BasketballTeam t1, BasketballTeam t2)
 {
     team1 = new TeamSimulationDetails(t1);
     team2 = new TeamSimulationDetails(t2);
 }