示例#1
0
        public override void Merge(Action act)
        {
            MoveResizeLvlItemAction mlia = act as MoveResizeLvlItemAction;

            this.XDelta  += mlia.XDelta;
            this.YDelta  += mlia.YDelta;
            this.XSDelta += mlia.XSDelta;
            this.YSDelta += mlia.YSDelta;
        }
示例#2
0
        public override bool Merge(Action act)
        {
            MoveResizeLvlItemAction mlia = act as MoveResizeLvlItemAction;

            this.XDelta  += mlia.XDelta;
            this.YDelta  += mlia.YDelta;
            this.XSDelta += mlia.XSDelta;
            this.YSDelta += mlia.YSDelta;

            return(true);
        }