Beispiel #1
0
 /// <summary>
 /// Constructor with all params
 /// </summary>
 /// <param name="difficulty"></param>
 /// <param name="number"></param>
 /// <param name="date"></param>
 /// <param name="wall"></param>
 public Boulder(Difficulty difficulty, int number, DateTime date, BoulderWall wall)
 {
     this.difficulty = difficulty;
     this.number     = number;
     this.date       = date;
     this.wall       = wall;
     //this.intersections = new List<Problem>();
 }
Beispiel #2
0
 /// <summary>
 /// Constructor for a boulder created now
 /// </summary>
 /// <param name="difficulty"></param>
 /// <param name="number"></param>
 /// <param name="wall"></param>
 public Boulder(Difficulty difficulty, int number, BoulderWall wall) : this(difficulty, number, DateTime.Now, wall)
 {
 }