ostrat.prid.phex.HStep
See theHStep companion object
sealed trait HStep extends TStepSided, HStepLike
A step on a hex tile grid HGrid can take 6 values: upright right, downright, downleft, left and upleft. These should not be confused with HVDirnOpts which fo from an HVert to an HCen.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait HStepLiketrait TStepSidedtrait TStepLiketrait Int1Elemtrait IntNElemtrait ValueNElemtrait SpecialTclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Members list
Value members
Inherited methods
Utility method to append this element on to an ArrayBuffer[Int]. End users should rarely need to use this method. This is useful for methods like filter.
The delta in c for the target tile.
The delta in r for the target tile.
Inherited and Abstract methods
Tile half step c column coordinate delta. The c delta to the tile side.
Tile half step c column coordinate delta. The c delta to the tile side.
Attributes
- Inherited from:
- TStepSided
Tile half step r row coordinate delta. The r delta to the tile side.
Tile half step r row coordinate delta. The r delta to the tile side.
Attributes
- Inherited from:
- TStepSided
In this article