Tile class

Represents a tile/cell in the grid.

Constructors

Tile((int, int) position, List<Tile> neighbors, {Tile? parent, bool isBarrier = false})

Properties

costFromStart int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heuristicCostToEnd int
getter/setter pair
isBarrier bool
final
neighbors List<Tile>
final
parent Tile?
getter/setter pair
position → (int, int)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalCost int
no setter

Methods

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