My Project
|
System in charge of handle start of game. More...
#include <StartGameSystem.hpp>
Public Member Functions | |
StartGameSystem () | |
Construct a new Start Game System object. | |
Entity | createSpaceShip (Registry ®istry, int lobbyId) |
Create a Space Ship object. More... | |
void | operator() (Registry ®istry, Sparse_array< component::cnetwork_queue_t > &netqueue, Sparse_array< component::clobby_id_t > &LobbyId, Sparse_array< component::cnet_id_to_client_id_t > &netIdToClientId, Sparse_array< component::clobbies_to_entities_t > &lobbiesToEntities, Sparse_array< component::cposition_t > &position, Sparse_array< component::ctype_t > &type, Sparse_array< component::clobbies_status_t > &lobbiesStatus, Sparse_array< component::chealth_t > &health) |
The main handler for the StartGame System. More... | |
System in charge of handle start of game.
Create a Space Ship object.
registry | The registry that contains all the ECS |
void System::StartGameSystem::operator() | ( | Registry & | registry, |
Sparse_array< component::cnetwork_queue_t > & | netqueue, | ||
Sparse_array< component::clobby_id_t > & | LobbyId, | ||
Sparse_array< component::cnet_id_to_client_id_t > & | netIdToClientId, | ||
Sparse_array< component::clobbies_to_entities_t > & | lobbiesToEntities, | ||
Sparse_array< component::cposition_t > & | position, | ||
Sparse_array< component::ctype_t > & | type, | ||
Sparse_array< component::clobbies_status_t > & | lobbiesStatus, | ||
Sparse_array< component::chealth_t > & | health | ||
) |
The main handler for the StartGame System.
registry | The registry that contains all the ECS |
netqueue | The sparse array of network entities |
LobbyId | The sparse array of lobbyId entities |
netIdToClientId | The sparse array of netIdToClientId entities |
lobbiesToEntities | The sparse array of lobbiesToEntities entities |
position | The sparse array of position entities |
type | The sparse array of type entities |
lobbiesStatus | The sparse array of lobbiesStatus entities |