Example #1
0
        public override Item getOne()
        {
            TV tV = new TV(parentSheetIndex, tileLocation);

            tV.drawPosition.Value       = drawPosition;
            tV.defaultBoundingBox.Value = defaultBoundingBox;
            tV.boundingBox.Value        = boundingBox;
            tV.currentRotation.Value    = (int)currentRotation - 1;
            tV.rotations.Value          = rotations;
            tV.rotate();
            return(tV);
        }
Example #2
0
        // Token: 0x06000A97 RID: 2711 RVA: 0x000DDB38 File Offset: 0x000DBD38
        public override Item getOne()
        {
            TV expr_11 = new TV(this.parentSheetIndex, this.tileLocation);

            expr_11.drawPosition       = this.drawPosition;
            expr_11.defaultBoundingBox = this.defaultBoundingBox;
            expr_11.boundingBox        = this.boundingBox;
            expr_11.currentRotation    = this.currentRotation - 1;
            expr_11.rotations          = this.rotations;
            expr_11.rotate();
            return(expr_11);
        }
Example #3
0
        public override Item getOne()
        {
            TV      tv           = new TV(this.parentSheetIndex, this.tileLocation);
            Vector2 drawPosition = this.drawPosition;

            tv.drawPosition = drawPosition;
            Rectangle defaultBoundingBox = this.defaultBoundingBox;

            tv.defaultBoundingBox = defaultBoundingBox;
            Rectangle boundingBox = this.boundingBox;

            tv.boundingBox = boundingBox;
            int num = this.currentRotation - 1;

            tv.currentRotation = num;
            int rotations = this.rotations;

            tv.rotations = rotations;
            tv.rotate();
            return((Item)tv);
        }