SqDirn

ostrat.prid.psq.SqDirn
See theSqDirn companion object
sealed trait SqDirn extends TDirn

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

Attributes

Companion:
object
Graph
Supertypes
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Known subtypes
object SqDL.type
object SqDR.type
object SqUL.type
object SqUR.type
object SqDn.type
object SqLt.type
object SqRt.type
object SqUp.type

Members list

Concise view

Value members

Abstract methods

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 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:
TDirn
def tr: Int

Tile step r row coordinate delta.

Tile step r row coordinate delta.

Attributes

Inherited from:
TDirn