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; }
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(); }
public AreaMap(int xSize, int ySize, PrecacTableBase _father) { map = new List2D <Area>(xSize, ySize, null); father = _father; }
public Cas(PrecacTableBase _father) { father = _father; list = new List <ConnectedAreas>(); }