예제 #1
0
 public ChangeMap(IndexOfList2D _clickPos, Dictionary<ConnectedAreas, SearchForCa> _sfcas, PrecacTableBase _tableBase) {
     //Debug.Assert(_sfcas.Count != 0);
     clickPos = _clickPos;
     sfcas = _sfcas;
     mineData = Singleton.MainData.mineDatas;
     flipBoard = Singleton.GamePart.flipBoard;
     tableBase = _tableBase;
 }
예제 #2
0
 public void Init()
 {
     mainData           = Singleton.MainData;
     gamePart           = Singleton.GamePart;
     tableBase          = new PrecacTableBase(mainData.XSize, mainData.YSize);
     problemsAndResults = new Dictionary <ConnectedAreas, SearchForCa>();
     Flip(new List <FlipNode>());
     visualizedData();
 }
예제 #3
0
 public AreaMap(int xSize, int ySize, PrecacTableBase _father)
 {
     map    = new List2D <Area>(xSize, ySize, null);
     father = _father;
 }
예제 #4
0
 public Cas(PrecacTableBase _father)
 {
     father = _father;
     list   = new List <ConnectedAreas>();
 }