示例#1
0
 public PlantInfo(int type, int[] anchors, LiquidPlacement water, LiquidPlacement lava)
 {
     tileType             = type;
     tileAnchors          = anchors;
     waterLiquidPlacement = water;
     lavaLiquidPlacement  = lava;
 }
 public LiquidPlacementModule(LiquidPlacementModule copyFrom = null)
 {
     if (copyFrom == null)
     {
         this.water = LiquidPlacement.Allowed;
         this.lava  = LiquidPlacement.Allowed;
         return;
     }
     this.water = copyFrom.water;
     this.lava  = copyFrom.lava;
 }
		public LiquidPlacementModule(LiquidPlacementModule copyFrom = null)
		{
			if (copyFrom == null)
			{
				this.water = LiquidPlacement.Allowed;
				this.lava = LiquidPlacement.Allowed;
				return;
			}
			this.water = copyFrom.water;
			this.lava = copyFrom.lava;
		}
 public LiquidPlacementModule(LiquidPlacementModule copyFrom = null)
 {
     if (copyFrom == null)
     {
         water = LiquidPlacement.Allowed;
         lava = LiquidPlacement.Allowed;
     }
     else
     {
         water = copyFrom.water;
         lava = copyFrom.lava;
     }
 }
 public LiquidPlacementModule(LiquidPlacementModule copyFrom = null)
 {
     if (copyFrom == null)
     {
         water = LiquidPlacement.Allowed;
         lava  = LiquidPlacement.Allowed;
     }
     else
     {
         water = copyFrom.water;
         lava  = copyFrom.lava;
     }
 }