NORTH_WEST

NORTH_WEST(Coordinate2D(-1, 1))

Functions

clone
Link copied to clipboard
protected fun clone(): Any
compareTo
Link copied to clipboard
operator override fun compareTo(other: Direction): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
fun finalize()
getDeclaringClass
Link copied to clipboard
fun getDeclaringClass(): Class<Direction>
hashCode
Link copied to clipboard
override fun hashCode(): Int
rotate
Link copied to clipboard
open override fun rotate(dx: Int, dy: Int): Coordinate2D
toString
Link copied to clipboard
open override fun toString(): String

Properties

coordinate
Link copied to clipboard
val coordinate: Coordinate2D
the vector corresponding to each direction
name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int