public override BaseGrid Clone()
        {
            DynamicGridWPool tNewGrid = new DynamicGridWPool(null);

            foreach (KeyValuePair<GridPos, Node> keyValue in m_nodes)
            {
                tNewGrid.SetWalkableAt(keyValue.Key.x, keyValue.Key.y, true);

            }

            return tNewGrid;
        }
        public override BaseGrid Clone()
        {
            DynamicGridWPool tNewGrid = new DynamicGridWPool(m_nodePool);

            return(tNewGrid);
        }
 public DynamicGridWPool(DynamicGridWPool b)
     : base(b)
 {
     m_notSet   = b.m_notSet;
     m_nodePool = b.m_nodePool;
 }
Example #4
0
 public override BaseGrid Clone()
 {
     DynamicGridWPool tNewGrid = new DynamicGridWPool(m_nodePool);
     return tNewGrid;
 }