SqStepPerp

ostrat.prid.psq.SqStepPerp
sealed trait SqStepPerp extends SqStep, TStepSided

A perpendicular or non-diagonal square tile direction or step can take 4 values.

Attributes

Graph
Supertypes
trait TStepSided
trait SqStep
trait SqStepLike
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Known subtypes
object SqDn
object SqLt
object SqRt
object SqUp

Members list

Value members

Concrete methods

override def isDiag: Boolean

Is an UpRight / DownRight / DownLeft / UPLeft step.

Is an UpRight / DownRight / DownLeft / UPLeft step.

Attributes

Definition Classes
override def isPerp: Boolean

Is perpendicular or non diagonal an Up / Right / Down / Left square tile direction or step

Is perpendicular or non diagonal an Up / Right / Down / Left square tile direction or step

Attributes

Definition Classes

Inherited methods

def angle: Angle

The angle of inclination of this square grid direction.

The angle of inclination of this square grid direction.

Attributes

Inherited from:
SqStep
def int1: Int

Attributes

Inherited from:
SqStep
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

the step that foes in the opposite direct to this step.

the step that foes in the opposite direct to this step.

Attributes

Inherited from:
SqStep
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:
TStepSided

The SqCen that this step would point to if it departed from SqCen(0, 0).

The SqCen that this step would point to if it departed from SqCen(0, 0).

Attributes

Inherited from:
SqStep
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:
TStepSided
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