Exemplo n.º 1
0
 public PartialGridWPool(NodePool iNodePool, GridRect? iGridRect = null)
     : base()
 {
     if (iGridRect == null)
         m_gridRect = new GridRect();
     else
         m_gridRect = iGridRect.Value;
     m_nodePool = iNodePool;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 public PartialGridWPool(NodePool iNodePool, GridRect?iGridRect = null)
     : base()
 {
     if (iGridRect == null)
     {
         m_gridRect = new GridRect();
     }
     else
     {
         m_gridRect = iGridRect.Value;
     }
     m_nodePool = iNodePool;
 }
Exemplo n.º 5
0
 public PartialGridWPool(PartialGridWPool b)
     : base(b)
 {
     m_nodePool = b.m_nodePool;
 }
Exemplo n.º 6
0
 public DynamicGridWPool(DynamicGridWPool b)
     : base(b)
 {
     m_notSet = b.m_notSet;
     m_nodePool = b.m_nodePool;
 }
Exemplo n.º 7
0
 public PartialGridWPool(PartialGridWPool b)
     : base(b)
 {
     m_nodePool = b.m_nodePool;
 }
Exemplo n.º 8
0
		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;
		}
Exemplo n.º 9
0
		private BaseGrid createDynamicGridWithPool(bool[][] array)
		{
			NodePool nodePool = new NodePool ();
			var grid = new DynamicGridWPool (nodePool);
			initGrid(grid, array);
			return grid; 
		}
Exemplo n.º 10
0
 public DynamicGridWPool(DynamicGridWPool b)
     : base(b)
 {
     m_notSet   = b.m_notSet;
     m_nodePool = b.m_nodePool;
 }