public PartialGridWPool(NodePool iNodePool, GridRect? iGridRect = null) : base() { if (iGridRect == null) m_gridRect = new GridRect(); else m_gridRect = iGridRect.Value; m_nodePool = iNodePool; }
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 PartialGridWPool(NodePool iNodePool, GridRect?iGridRect = null) : base() { if (iGridRect == null) { m_gridRect = new GridRect(); } else { m_gridRect = iGridRect.Value; } m_nodePool = iNodePool; }
public PartialGridWPool(PartialGridWPool b) : base(b) { m_nodePool = b.m_nodePool; }
public DynamicGridWPool(DynamicGridWPool b) : base(b) { m_notSet = b.m_notSet; m_nodePool = b.m_nodePool; }
private BaseGrid createPartialGridWithPool(bool[][] array) { NodePool nodePool = new NodePool (); var grid = new PartialGridWPool (nodePool, new GridRect(0, 0, array.Length, array[0].Length)); initGrid(grid, array); return grid; }
private BaseGrid createDynamicGridWithPool(bool[][] array) { NodePool nodePool = new NodePool (); var grid = new DynamicGridWPool (nodePool); initGrid(grid, array); return grid; }