HexDR

ostrat.prid.phex.HexDR
case object HexDR extends HStep

A step downright on a hex tile grid HGrid.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepLike
trait TStepSided
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HexDR.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Concrete methods

def int1: Int
override def reverse: HStep

Attributes

Definition Classes
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

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 methods

def canEqual(a: Any): Boolean

Attributes

Inherited from:
HStep
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton

The delta HCen of this step inside a hex grid.

The delta HCen of this step inside a hex grid.

Attributes

Inherited from:
HStep
override def intBufferAppend(buffer: ArrayBuffer[Int]): Unit

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.

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.

Attributes

Definition Classes
Inherited from:
Int1Elem
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 mapOpt[B, ArrB <: Arr[B]](f: HStep => B): Option[B]

Returns a Some of the result of the function if this is an HStep else returns None.

Returns a Some of the result of the function if this is an HStep else returns None.

Attributes

Inherited from:
HStepLike

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final inline override def tc: Int

The delta in c for the target tile.

The delta in c for the target tile.

Attributes

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

The delta in r for the target tile.

The delta in r for the target tile.

Attributes

Definition Classes
Inherited from:
TStepSided