Another direction enumeration class, with 8 possible directions. * @todo Eliminate #Direction. * @todo After eliminating #Direction, rename this enum to Direction. */
| 70 | * @todo After eliminating #Direction, rename this enum to Direction. |
| 71 | */ |
| 72 | enum Direction2 { |
| 73 | DIR2_INVALID, ///< Invalid direction. |
| 74 | DIR2_NORTH, ///< Direction pointing north. |
| 75 | DIR2_NORTH_EAST, ///< Direction pointing north-east. |
| 76 | DIR2_EAST, ///< Direction pointing east. |
| 77 | DIR2_SOUTH_EAST, ///< Direction pointing south-east. |
| 78 | DIR2_SOUTH, ///< Direction pointing south. |
| 79 | DIR2_SOUTH_WEST, ///< Direction pointing south-west. |
| 80 | DIR2_WEST, ///< Direction pointing west. |
| 81 | DIR2_NORTH_WEST, ///< Direction pointing north-west. |
| 82 | |
| 83 | DIR2_BEGIN = DIR2_NORTH, ///< First valid direction. |
| 84 | DIR2_END = DIR2_NORTH_WEST + 1, ///< End-condition for directions |
| 85 | }; |
| 86 | |
| 87 | /** |
| 88 | * Increment the direction by 45 degrees. |
nothing calls this directly
no outgoing calls
no test coverage detected