コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #5
0
 public PartialGridWPool(PartialGridWPool b)
     : base(b)
 {
     m_nodePool = b.m_nodePool;
 }
コード例 #6
0
 public DynamicGridWPool(DynamicGridWPool b)
     : base(b)
 {
     m_notSet = b.m_notSet;
     m_nodePool = b.m_nodePool;
 }
コード例 #7
0
 public PartialGridWPool(PartialGridWPool b)
     : base(b)
 {
     m_nodePool = b.m_nodePool;
 }
コード例 #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;
		}
コード例 #9
0
		private BaseGrid createDynamicGridWithPool(bool[][] array)
		{
			NodePool nodePool = new NodePool ();
			var grid = new DynamicGridWPool (nodePool);
			initGrid(grid, array);
			return grid; 
		}
コード例 #10
0
 public DynamicGridWPool(DynamicGridWPool b)
     : base(b)
 {
     m_notSet   = b.m_notSet;
     m_nodePool = b.m_nodePool;
 }