public override Item getOne()
        {
            AnywhereFurniture furniture = new AnywhereFurniture(this);

            furniture.drawPosition.Value       = this.drawPosition.Value;
            furniture.defaultBoundingBox.Value = this.defaultBoundingBox.Value;
            furniture.boundingBox.Value        = this.boundingBox.Value;
            furniture.currentRotation.Value    = this.currentRotation.Value;
            furniture.rotations.Value          = this.rotations.Value;
            furniture.sourceRect.Value         = this.sourceRect.Value;
            return(furniture);
        }
示例#2
0
        public override Item getOne()
        {
            AnywhereFurniture furniture = new AnywhereFurniture(this);

            furniture.drawPosition       = this.drawPosition;
            furniture.defaultBoundingBox = this.defaultBoundingBox;
            furniture.boundingBox        = this.boundingBox;
            furniture.currentRotation    = this.currentRotation;
            furniture.rotations          = this.rotations;
            furniture.rotate();
            furniture.rotate();
            furniture.rotate();
            furniture.rotate();
            return(furniture);
        }