Exemplo n.º 1
0
        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);
        }