示例#1
0
        public void setRotationAngle(int angle)
        {
            var tempTransform = transformation;

            tempTransform.rotationAngle = angle;
            transformation = tempTransform;
        }
示例#2
0
        public void move(int x = 0, int y = 0)
        {
            var tempTransform = transformation;

            tempTransform.xTransition += x;
            tempTransform.yTransition += y;
            transformation             = tempTransform;
        }