moveTile

private fun moveTile(direction: FlingDirection, position: Int)

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).