摘要 |
Provided is a method for the movement of an image object. In the method: A. determining the direction of movement of an image object to be moved, and a module X corresponding to same; B. moving the module X along the direction of movement by one unit; determining whether or not an overlap exists between the module X and another module; if not, terminating the process; otherwise, determining the module having the overlap with the module X as a blocking module; restoring the module X to the original position before swapping locations with the blocking module; determining whether or not all other modules apart from the module X and the blocking module can be properly placed; if yes, terminating the process; otherwise, executing step C; C. determining whether or not the module X can continue to move along the direction of movement; if not, terminating the process; otherwise, moving the module X by one unit; determining whether or not all other modules apart from the module X can be properly placed; if yes, terminating the process; otherwise, repeat step C. Employment of the solution provided in the present invention allows for an improved success rate for the movement of the image object. |