public PartialGridWPool(NodePool iNodePool, GridRect? iGridRect = null) : base() { if (iGridRect == null) m_gridRect = new GridRect(); else m_gridRect = iGridRect.Value; m_nodePool = iNodePool; }
public DynamicGrid(List <GridPos> iWalkableGridList = null) : base() { m_gridRect = new GridRect(); m_gridRect.minX = 0; m_gridRect.minY = 0; m_gridRect.maxX = 0; m_gridRect.maxY = 0; m_notSet = true; buildNodes(iWalkableGridList); }
public DynamicGrid(List<GridPos> iWalkableGridList = null) : base() { m_gridRect = new GridRect(); m_gridRect.minX = 0; m_gridRect.minY = 0; m_gridRect.maxX = 0; m_gridRect.maxY = 0; m_notSet = true; buildNodes(iWalkableGridList); }
public DynamicGridWPool(NodePool iNodePool) : base() { m_gridRect = new GridRect(); m_gridRect.minX = 0; m_gridRect.minY = 0; m_gridRect.maxX = 0; m_gridRect.maxY = 0; m_notSet = true; m_nodePool = iNodePool; }
public override bool Equals(System.Object obj) { if (!(obj is GridRect)) { return(false); } GridRect p = (GridRect)obj; // Return true if the fields match: return((minX == p.minX) && (minY == p.minY) && (maxX == p.maxX) && (maxY == p.maxY)); }
public PartialGridWPool(NodePool iNodePool, GridRect?iGridRect = null) : base() { if (iGridRect == null) { m_gridRect = new GridRect(); } else { m_gridRect = iGridRect.Value; } m_nodePool = iNodePool; }
public bool Equals(GridRect p) { // Return true if the fields match: return (minX == p.minX) && (minY == p.minY) && (maxX == p.maxX) && (maxY == p.maxY); }
public BaseGrid(BaseGrid b) { m_gridRect = new GridRect(b.m_gridRect); width = b.width; height = b.height; }
public BaseGrid() { m_gridRect = new GridRect(); }
public BaseGrid(BaseGrid b) { MGridRect = new GridRect(b.MGridRect); Width = b.Width; Height = b.Height; }
public BaseGrid() { MGridRect = new GridRect(); }
public bool Equals(GridRect p) { // Return true if the fields match: return((minX == p.minX) && (minY == p.minY) && (maxX == p.maxX) && (maxY == p.maxY)); }
public void SetGridRect(GridRect iGridRect) { m_gridRect = iGridRect; }
public void SetGridRect(GridRect iGridRect) { m_gridRect = iGridRect; updateNodes(); }