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