コード例 #1
0
ファイル: CellSet.cs プロジェクト: edschultz21/TriDoKu
        public CellSet(CellSetType cellSetType)
        {
            Coordinates = new Coordinates[9];

            CellSetType    = cellSetType;
            IntersectsWith = new List <CellSetType>();

            PopulateData();

            PopulateIntersections();
        }
コード例 #2
0
 private void Validate(CellSetType cellSetType)
 {
     Validate(_cellSets[cellSetType].Coordinates);
 }
コード例 #3
0
ファイル: CellSet.cs プロジェクト: hawk1996/sudoku-uni
 // Called from Puzzle constructor
 internal CellSet(Puzzle owner, CellSetType type, int index)
 {
     Owner = owner;
     Type  = type;
     Index = index;
 }