public TileObjectStyleModule(TileObjectStyleModule copyFrom = null)
 {
     if (copyFrom == null)
     {
         this.style           = 0;
         this.horizontal      = false;
         this.styleWrapLimit  = 0;
         this.styleMultiplier = 1;
     }
     else
     {
         this.style           = copyFrom.style;
         this.horizontal      = copyFrom.horizontal;
         this.styleWrapLimit  = copyFrom.styleWrapLimit;
         this.styleMultiplier = copyFrom.styleMultiplier;
     }
 }
 public TileObjectStyleModule(TileObjectStyleModule copyFrom = null)
 {
     if (copyFrom == null)
     {
         style          = 0;
         horizontal     = false;
         styleWrapLimit = 0;
         styleWrapLimitVisualOverride = null;
         styleLineSkipVisualoverride  = null;
         styleMultiplier = 1;
         styleLineSkip   = 1;
     }
     else
     {
         style           = copyFrom.style;
         horizontal      = copyFrom.horizontal;
         styleWrapLimit  = copyFrom.styleWrapLimit;
         styleMultiplier = copyFrom.styleMultiplier;
         styleLineSkip   = copyFrom.styleLineSkip;
         styleWrapLimitVisualOverride = copyFrom.styleWrapLimitVisualOverride;
         styleLineSkipVisualoverride  = copyFrom.styleLineSkipVisualoverride;
     }
 }
Beispiel #3
0
 public TileObjectStyleModule(TileObjectStyleModule copyFrom = null)
 {
     if (copyFrom == null)
     {
         this.style          = 0;
         this.horizontal     = false;
         this.styleWrapLimit = 0;
         this.styleWrapLimitVisualOverride = new int?();
         this.styleLineSkipVisualoverride  = new int?();
         this.styleMultiplier = 1;
         this.styleLineSkip   = 1;
     }
     else
     {
         this.style           = copyFrom.style;
         this.horizontal      = copyFrom.horizontal;
         this.styleWrapLimit  = copyFrom.styleWrapLimit;
         this.styleMultiplier = copyFrom.styleMultiplier;
         this.styleLineSkip   = copyFrom.styleLineSkip;
         this.styleWrapLimitVisualOverride = copyFrom.styleWrapLimitVisualOverride;
         this.styleLineSkipVisualoverride  = copyFrom.styleLineSkipVisualoverride;
     }
 }