opposite

fun opposite(): Dir8

Returns the opposite direction of the current Dir8 value.

Return

The opposite Dir8 direction.