| My Project
    | 
ControlSystem class that handles the control of all the entities. More...
#include <ControlSystem.hpp>
| Public Member Functions | |
| ControlSystem () | |
| Construct a new Control System object. | |
| void | operator() (Registry ®istry, Sparse_array< component::ckeyboard_t > &keyboards, Sparse_array< component::cnetwork_queue_t > &network, Sparse_array< component::csceneid_t > &scenesId, Sparse_array< component::cclient_network_id > &clientNetworkId) | 
| Function that will be automaticaly called while the client is working (on loop)  More... | |
| void | addToNetworkQueue (float x, float y, Sparse_array< component::cnetwork_queue_t > &network, uint16_t idOfShip) | 
| A method to add a task for the server through the network queue.  More... | |
ControlSystem class that handles the control of all the entities.
| void System::ControlSystem::addToNetworkQueue | ( | float | x, | 
| float | y, | ||
| Sparse_array< component::cnetwork_queue_t > & | network, | ||
| uint16_t | idOfShip | ||
| ) | 
A method to add a task for the server through the network queue.
| x | The x position of the task | 
| y | The y position of the task | 
| network | The sparse array of network entitiies | 
| idOfShip | The sparse array of id of the ship entities | 
| void System::ControlSystem::operator() | ( | Registry & | registry, | 
| Sparse_array< component::ckeyboard_t > & | keyboards, | ||
| Sparse_array< component::cnetwork_queue_t > & | network, | ||
| Sparse_array< component::csceneid_t > & | scenesId, | ||
| Sparse_array< component::cclient_network_id > & | clientNetworkId | ||
| ) | 
Function that will be automaticaly called while the client is working (on loop)
| registry | The registry of the server | 
| keyboards | The sparse array of keyboard entities | 
| network | The sparse array of network entities | 
| scenesId | The sparse array of scenesId entities | 
| clientNetworkId | The sparse array of clientNetworkId entities | 
 1.8.17
 1.8.17