Exemple #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Liquid" /> class.
 /// </summary>
 /// <param name="owner">
 ///     The owner.
 /// </param>
 /// <param name="position">
 ///     The position.
 /// </param>
 /// <param name="isSource">
 ///     The is source.
 /// </param>
 public Liquid(IMap owner, Point3D position, LiquidTypes type, bool isSource)
     : base(owner, 2, position)
 {
     IsSource = isSource;
     Level    = 15;
     Pressure = 1;
     Type     = type;
 }
Exemple #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Liquid" /> class.
 /// </summary>
 /// <param name="owner">
 ///     The owner.
 /// </param>
 /// <param name="position">
 ///     The position.
 /// </param>
 /// <param name="isSource">
 ///     The is source.
 /// </param>
 public Liquid(IMap owner, Point3D position, LiquidTypes type, bool isSource)
     : base(owner, 2, position)
 {
     IsSource = isSource;
     Level = 15;
     Pressure = 1;
     Type = type;
 }