Introduce INVALID_DIRECTION constant

This commit is contained in:
Richard Fine committed 2019-09-01 16:08:01 +01:00
1 parent f12eb3010f
commit 6a673cc7be
1 file changed
+2
+2
View File
@@ -267,6 +267,8 @@ struct TileCoordsXYZ
*/
typedef uint8_t Direction;
const Direction INVALID_DIRECTION = 0xFF;
/**
* Given a direction, return the direction that points the other way,
* on the same axis.