SqStep

ostrat.prid.psq.SqStep
See theSqStep companion object
sealed trait SqStep extends SqStepLike

A square tile direction can take 8 values. This can be used for square grid steps or quantums.

Attributes

Companion
object
Graph
Supertypes
trait SqStepLike
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Known subtypes
trait SqStepDiag
object SqDL
object SqDR
object SqUL
object SqUR
trait SqStepPerp
object SqDn
object SqLt
object SqRt
object SqUp
Show all

Members list

Value members

Abstract methods

def angle: Angle

The angle of inclination of this square grid direction.

The angle of inclination of this square grid direction.

Attributes

def int1: Int

Is an UpRight / DownRight / DownLeft / UPLeft step.

Is an UpRight / DownRight / DownLeft / UPLeft step.

Attributes

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

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

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

Attributes

Concrete methods

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 methods

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