HStepLike

ostrat.prid.phex.HStepLike
See theHStepLike companion object
sealed trait HStepLike extends TStepLike

Common trait for HStep and HStepStay.

Attributes

Companion
object
Graph
Supertypes
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HStep
object HexDL
object HexDR
object HexLt
object HexRt
object HexUL
object HexUR
object HStepStay
Show all

Members list

Value members

Concrete methods

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 methods

def int1: Int

Attributes

Inherited from:
Int1Elem
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 tc: Int

Tile step c column coordinate delta

Tile step c column coordinate delta

Attributes

Inherited from:
TStepLike
def tr: Int

Tile step r row coordinate delta.

Tile step r row coordinate delta.

Attributes

Inherited from:
TStepLike