Exemplo n.º 1
0
        /// <summary>Sets the lanes by level specs in GameSettings</summary>
        /// <param name="level">The level enum</param>
        public void SetLanesByLevel(LevelManager.GameLevel level)
        {
            this.lanes.Clear();
            switch (level)
            {
            case LevelManager.GameLevel.One:
                this.setLevelOneLaneValues();
                break;

            case LevelManager.GameLevel.Two:
                this.setLevelTwoLaneValues();
                break;

            case LevelManager.GameLevel.Three:
                this.setLevelThreeLaneValues();
                break;
            }
        }
Exemplo n.º 2
0
 /// <summary>Initializes a new instance of the <see cref="HighScore" /> class.</summary>
 public HighScore(LevelManager.GameLevel level, int score, string name)
 {
     this.Level = level;
     this.Score = score;
     this.Name  = name;
 }