Example #1
0
        private void ShowMoveTile(MoveDirection kBlankTileMoveDirection)
        {
            Position      kBlankTilePosition = _viewModel.CurrentBoard.BlankTilePosition;
            MoveDirection kMoveDirection     = kBlankTileMoveDirection.Opposite();

            m_kTiles[kBlankTilePosition.Row, kBlankTilePosition.Column].Move(kMoveDirection, () =>
            {
                SetTileValues(_viewModel.CurrentBoard);
            }, TILE_MOVE_DURATION_MSEC);
        }