|
Zappy Server
C++ game server: world, rules, scheduler, 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 | |
| Orientation | turnRight (Orientation o) |
| Orientation | turnLeft (Orientation o) |
| std::ostream & | operator<< (std::ostream &os, Orientation 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 42 of file Orientation.hpp.
|
inline |
Definition at line 27 of file Orientation.hpp.
Referenced by CommandDispatcher::_handleLeft().
Here is the caller graph for this function:
|
inline |
Definition at line 12 of file Orientation.hpp.
Referenced by CommandDispatcher::_handleRight().
Here is the caller graph for this function: