move Tile
Moves the specified tile in the given direction of the user's fling gesture.
Parameters
direction
Direction of the user's fling gesture.
position
Position of the tile to be moved (zero-based, following row-major order).
Moves the specified tile in the given direction of the user's fling gesture.
Direction of the user's fling gesture.
Position of the tile to be moved (zero-based, following row-major order).