Example #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);
        }
Example #2
0
 public List <CellPos> GetCellAdjacent(CellPos center)
 {
     return(CellMapView.GetCellAdjacent(center, m_MaxRowCount, m_MaxColCount));
 }
Example #3
0
 public List <CellPos> GetCellAdjacent(CellPos center)
 {
     return(CellMapView.GetCellAdjacent(center, max_row_, max_col_));
 }
Example #4
0
 public CellPos GetFirstWalkableCell(Vector3 from, Vector3 to)
 {
     return(CellMapView.GetFirstWalkableCell(this, from, to));
 }