HStep

ostrat.prid.phex.HStep
See theHStep companion object
sealed trait HStep extends TDirnSided with Int1Elem with HStepOpt

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 HStepOpt
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Known subtypes
object HStepUL.type
object HexDL.type
object HexDR.type
object HexLt.type
object HexRt.type
object HexUR.type

Members list

Concise view

Value members

Abstract methods

def int1: Int

Concrete methods

def canEqual(a: Any): Boolean

The delta HCen of this step inside a hex grid.

The delta HCen of this step inside a hex grid.

Attributes

Inherited methods

override def intForeach(f: Int => Unit): Unit

Performs the side effecting function on each Double in this Product element.

Performs the side effecting function on each Double in this Product element.

Attributes

Definition Classes
Inherited from:
Int1Elem
def sc: Int

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:
TDirnSided
def sr: Int

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:
TDirnSided
final inline override def tc: Int

Tile step c column coordinate delta

Tile step c column coordinate delta

Attributes

Definition Classes
Inherited from:
TDirnSided
final inline override def tr: Int

Tile step r row coordinate delta.

Tile step r row coordinate delta.

Attributes

Definition Classes
Inherited from:
TDirnSided