opposite

fun opposite(): Dir8

Function to get the opposite direction for Dir8.

Return

The opposite direction of the current Dir8 value.