UP

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun opposite(): Dir8

Function to get the opposite direction for Dir8.

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

Rotates the current direction based on the given rotation direction.

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

Converts the current Dir8 value to the corresponding Dir4 value based on the given rotation direction.