private List <Penalty> ResolvePenalties(Player p) { List <Penalty> output = new List <Penalty>(); foreach (int id in p.Penalties) { output.Add(DemoData.GetPenaltyById(id)); } return(output); }
private List <Penalty> ResolvePenalties(Player p) { List <Penalty> output = new List <Penalty>(); foreach (int id in p.Penalties) { output.Add(DemoData.GetPenaltyById(id)); } return(output); }