コード例 #1
0
ファイル: Level.cs プロジェクト: steynh/GamingMinor
 public Level()
 {
     _children = new List<PhysicalObject2D>();
     Checkpoints = new List<PlayerCheckpoint>();
     Score = new ScoreSettings(this);
 }
コード例 #2
0
ファイル: ScoreHistory.cs プロジェクト: steynh/GamingMinor
        public void AddNewScore(float time, ScoreSettings.Medal medal)
        {
            BestMedals.Add(new KeyValuePair<float, ScoreSettings.Medal>(time, medal));

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