Beispiel #1
0
 public override void Reset()
 {
     m_pCurrent  = Point.Empty;
     m_bStepInit = false;
     m_asHeap    = new AStarHeap();
     base.Reset();
 }
Beispiel #2
0
 public AStar(Rectangle WorkingRegion,
              int StandardCost, int DiagonalCost,
              Point WorldLowerRight)
     : base(WorkingRegion,
            StandardCost, DiagonalCost,
            WorldLowerRight)
 {
     m_pCurrent  = Point.Empty;
     m_bStepInit = false;
     m_asHeap    = new AStarHeap();
 }