Beispiel #1
0
 public Level()
 {
     _children = new List<PhysicalObject2D>();
     Checkpoints = new List<PlayerCheckpoint>();
     Score = new ScoreSettings(this);
 }
Beispiel #2
0
        public void AddNewScore(float time, ScoreSettings.Medal medal)
        {
            BestMedals.Add(new KeyValuePair<float, ScoreSettings.Medal>(time, medal));

            BestMedals = BestMedals.OrderBy(x => x.Key).ToList();
        }