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

            if (cell_map_views_.ContainsKey(radius))
            {
                view = cell_map_views_[radius];
            }
            else
            {
                view = new CellMapView(this, radius);
                cell_map_views_.Add(radius, view);
            }
            return(view);
        }
 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_));
 }
 public CellPos GetFirstWalkableCell(Vector3 from, Vector3 to)
 {
     return(CellMapView.GetFirstWalkableCell(this, from, to));
 }