Exemple #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="RiverCrossing" /> class. Initializes a new instance of the
 ///     <see cref="T:OregonTrailDotNet.Entity.Location.Location" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="climateType">The climate Type.</param>
 /// <param name="riverOption">The river Option.</param>
 public RiverCrossing(string name, Climate climateType, RiverOption riverOption = RiverOption.FloatAndFord)
     : base(name, climateType)
 {
     // Set the river option into the location itself.
     RiverCrossOption = riverOption;
 }
Exemple #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="RiverCrossing" /> class. Initializes a new instance of the
 ///     <see cref="T:OregonTrailDotNet.Entity.Location.Location" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="climateType">The climate Type.</param>
 /// <param name="riverOption">The river Option.</param>
 public RiverCrossing(string name, Climate climateType, RiverOption riverOption = RiverOption.FloatAndFord)
     : base(name, climateType)
 {
     // Set the river option into the location itself.
     RiverCrossOption = riverOption;
 }