public void ChangeState(CellVacancy newState) { if (newState == cellVacancy) { return; } cellVacancy = newState; }
public BoardCell(int row, int col, float boardSize, Transform stonesParent) { cellVacancy = CellVacancy.Free; this.row = row; this.col = col; this.boardSize = boardSize; this.stonesParent = stonesParent; stonePrefab = null; }