8 #ifndef R_TYPE_SHOOTSYSTEM_HPP
9 #define R_TYPE_SHOOTSYSTEM_HPP
12 #include "Registry.hpp"
15 #include "Component/CNetworkQueue.hpp"
16 #include "Component/CDamage.hpp"
17 #include "Component/CDirection.hpp"
18 #include "Component/CHitBox.hpp"
19 #include "Component/CPosition.hpp"
20 #include "Component/CLobbyId.hpp"
21 #include "Component/CNetIdToClientId.hpp"
22 #include "Component/CHealth.hpp"
73 #endif //R_TYPE_SHOOTSYSTEM_HPP
Class that handle Element of type Component like a vector which can be holed.
Definition: SparseArray.hpp:22
Namespace for systems.
Definition: DirectionSystem.hpp:24
void operator()(Registry ®istry, Sparse_array< component::cnetwork_queue_t > &netqueue, Sparse_array< component::cposition_t > &position, Sparse_array< component::clobby_id_t > &lobbyId, Sparse_array< component::cnet_id_to_client_id_t > &netIdToClientId, Sparse_array< component::chealth_t > &health)
The main handler for the Shoot System.
Definition: ShootSystem.cpp:28
The Shoot System class, it handles all packets related to a mouse click by the user,...
Definition: ShootSystem.hpp:31
Class that handle ECS.
Definition: Registry.hpp:22
ShootSystem()
Construct a new Shoot System object.
Definition: ShootSystem.cpp:24
Class that handle entity in a sparse array like an index.
Definition: Entity.hpp:16
Entity createBullet(Registry ®istry, Sparse_array< component::cposition_t > &position, uint16_t playerId, int lobbyId)
Create a Bullet object.
Definition: ShootSystem.cpp:42