コード例 #1
0
ファイル: WallSelector.cs プロジェクト: Artemko1/GridMaze
        private void UpdateCurrentSelection()
        {
            CleanSelection();

            SelectedLine = isHorizontalSelection
                ? mazeGrids.GetLineHorizontal(horizontalWallIndex)
                : mazeGrids.GetLineVertical(verticalWallIndex);

            ResumeSelection();
        }
コード例 #2
0
ファイル: WallSelector.cs プロジェクト: Artemko1/GridMaze
 public WallSelector(MazeGrids mazeGrids)
 {
     this.mazeGrids = mazeGrids;
     SelectedLine   = mazeGrids.GetLineHorizontal(0);
 }