* Checks if an integer value is a valid Direction * * @param d The value to check * @return True if the value belongs to a Direction, else false */
| 30 | * @return True if the value belongs to a Direction, else false |
| 31 | */ |
| 32 | inline bool IsValidDirection(Direction d) |
| 33 | { |
| 34 | return d < DIR_END; |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Checks if an integer value is a valid Axis |
no outgoing calls
no test coverage detected