Esempio n. 1
0
        public ICellMapView GetCellMapView(int radius)
        {
            ICellMapView view;

            if (!cell_map_views_.TryGetValue(radius, out view))
            {
                view = new CellMapView(this, radius);
                cell_map_views_.Add(radius, view);
            }
            return(view);
        }
Esempio n. 2
0
 public List <CellPos> GetCellAdjacent(CellPos center)
 {
     return(CellMapView.GetCellAdjacent(center, m_MaxRowCount, m_MaxColCount));
 }
Esempio n. 3
0
 public List <CellPos> GetCellAdjacent(CellPos center)
 {
     return(CellMapView.GetCellAdjacent(center, max_row_, max_col_));
 }
Esempio n. 4
0
 public CellPos GetFirstWalkableCell(Vector3 from, Vector3 to)
 {
     return(CellMapView.GetFirstWalkableCell(this, from, to));
 }