menu
hex_toolkit package
documentation
hex_toolkit.dart
Hex
isNeighborOf method
isNeighborOf method
dark_mode
light_mode
isNeighborOf
method
bool
isNeighborOf
(
Hex
other
)
Implementation
bool isNeighborOf(Hex other) { return distanceTo(other) == 1; }
hex_toolkit package
documentation
hex_toolkit
Hex
isNeighborOf method
Hex class