AStar class
Class responsible for calculating the best route using the A* algorithm.
Constructors
Properties
-
barriers
→ List<
Point< int> > -
final
- columns → int
-
final
-
end
→ Point<
int> -
final
-
grid
↔ List<
List< Tile> > -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- rows → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
start
→ Point<
int> -
final
- withDiagonal → bool
-
final
Methods
-
findThePath(
{ValueChanged< List< ? doneList}) → Iterable<Point< >int> >Point< int> > - Method that starts the search
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited