|
Zappy GUI
C++ graphic client: renderer, camera, network
|
#include <ostream>
Include dependency graph for Orientation.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Enumerations | |
| enum class | Orientation { N , E , S , W , N = 1 , E = 2 , S = 3 , W = 4 } |
| Represents the orientation of an object in the game. Orientation mapped to integers as required by the protocol. See G-YEP-400_zappy_GUI_protocol.pdf for details. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, Orientation orientation) |
| std::string | to_string (Orientation orientation) |
| float | toAngle (Orientation orientation) |
| Returns the Y rotation angle (degrees) for a given orientation. | |
|
strong |
Represents the orientation of an object in the game. Orientation mapped to integers as required by the protocol. See G-YEP-400_zappy_GUI_protocol.pdf for details.
| Enumerator | |
|---|---|
| N | |
| E | |
| S | |
| W | |
| N | |
| E | |
| S | |
| W | |
Definition at line 10 of file Orientation.hpp.
|
inline |
Definition at line 12 of file Orientation.hpp.
|
inline |
Definition at line 27 of file Orientation.hpp.
|
inline |
Returns the Y rotation angle (degrees) for a given orientation.
Definition at line 46 of file Orientation.hpp.
Referenced by GameState::_applyPlayerNew(), GameState::_applyPlayerPosition(), and TurnBehavior::TurnBehavior().
Here is the caller graph for this function: