Ejemplo n.º 1
0
            public void CopyFrom(QcColumnProperties source)
            {
                base.CopyFrom(source);

                this.width           = source.width;
                this.depth           = source.depth;
                this.height          = source.height;
                this.sides           = source.sides;
                this.triangleIncline = source.triangleIncline;

                this.hollow.enabled = source.hollow.enabled;
                this.hollow.ratio   = source.hollow.ratio;
            }
Ejemplo n.º 2
0
 public bool Modified(QcColumnProperties source)
 {
     if ((this.width == source.width) && (this.depth == source.depth) && (this.height == source.height) &&
         (this.sides == source.sides) &&
         (this.triangleIncline == source.triangleIncline) &&
         (this.hollow.enabled == source.hollow.enabled) &&
         (this.hollow.ratio == source.hollow.ratio) &&
         (this.genTextureCoords == source.genTextureCoords) &&
         (this.addCollider == source.addCollider) &&
         (this.offset[0] == source.offset[0]) && (this.offset[1] == source.offset[1]) && (this.offset[2] == source.offset[2]))
     {
         return(false);
     }
     else
     {
         return(true);
     }
 }