Пример #1
0
    public void SetNeiborCell(HexCell c, HexDirection dir)
    {
        int d = (int)dir;

        NeiborCells[d] = c;

        HexDirection oppsiteDir = dir.Oppsite();

        c.NeiborCells[(int)oppsiteDir] = this;
    }