private void UpdateCurrentSelection() { CleanSelection(); SelectedLine = isHorizontalSelection ? mazeGrids.GetLineHorizontal(horizontalWallIndex) : mazeGrids.GetLineVertical(verticalWallIndex); ResumeSelection(); }
public WallSelector(MazeGrids mazeGrids) { this.mazeGrids = mazeGrids; SelectedLine = mazeGrids.GetLineHorizontal(0); }