DOWN

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun opposite(): Dir4

Function to get the opposite direction for Dir4.

Link copied to clipboard
fun rotate(dirRotate: DirRotate): Dir4

Rotates the current direction based on the given rotation direction.

Link copied to clipboard
fun toDir8(): Dir8

Function to convert Dir4 to Dir8.