Exemple #1
0
    public void ChangeState(CellVacancy newState)
    {
        if (newState == cellVacancy)
        {
            return;
        }

        cellVacancy = newState;
    }
Exemple #2
0
    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;
    }