|
My Project
|
The Direction System class, it handles all packets related to movement by the clients. More...
#include <DirectionSystem.hpp>
Public Member Functions | |
| DirectionSystem () | |
| Construct a new Direction System object. | |
| void | operator() (Registry ®istry, Sparse_array< component::cnetwork_queue_t > &netqueue, Sparse_array< component::cdirection_t > &direction, Sparse_array< component::cposition_t > &position, Sparse_array< component::cvelocity_t > &velocity, Sparse_array< component::clobby_id_t > &lobbyId, Sparse_array< component::cnet_id_to_client_id_t > &networkToClientId) |
| The main handler for the Direction System. More... | |
The Direction System class, it handles all packets related to movement by the clients.
| void System::DirectionSystem::operator() | ( | Registry & | registry, |
| Sparse_array< component::cnetwork_queue_t > & | netqueue, | ||
| Sparse_array< component::cdirection_t > & | direction, | ||
| Sparse_array< component::cposition_t > & | position, | ||
| Sparse_array< component::cvelocity_t > & | velocity, | ||
| Sparse_array< component::clobby_id_t > & | lobbyId, | ||
| Sparse_array< component::cnet_id_to_client_id_t > & | networkToClientId | ||
| ) |
The main handler for the Direction System.
| registry | The registry of the server |
| netqueue | The sparse array of network entities |
| direction | The sparse array of direction entities |
| position | The sparse array of position entities |
| velocity | The sparse array of velocity entities |
1.8.17