public Case(AbsCase Wrapped, Grille g) { PosX = Wrapped.X; PosY = Wrapped.Y; Type = Wrapped.Type; m_Grille = g; this.Wrapped = Wrapped; GCost = 0; HCost = 0; FCost = 0; }
public Path(Point Begin, Point End, Map m, int Distance) { m_Grille = new Grille(m, Begin, End); m_Begin = m_Grille.BeginPoint; m_End = m_Grille.EndPoint; m_ListPath = new List <Case>(); m_ListToCheck = new List <Case>(); m_Distance = Distance; Lock = new object(); Trace(); }