public Level() { _children = new List<PhysicalObject2D>(); Checkpoints = new List<PlayerCheckpoint>(); Score = new ScoreSettings(this); }
public void AddNewScore(float time, ScoreSettings.Medal medal) { BestMedals.Add(new KeyValuePair<float, ScoreSettings.Medal>(time, medal)); BestMedals = BestMedals.OrderBy(x => x.Key).ToList(); }