SqStepDiag

ostrat.prid.psq.SqStepDiag
sealed trait SqStepDiag extends SqStep

A non-diagonal square tile Step can take 4 values.

Attributes

Graph
Supertypes
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 SqDL
object SqDR
object SqUL
object SqUR

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

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