8#ifndef RTYPE_BULLET_CLEANUP_SYSTEM_HPP_
9 #define RTYPE_BULLET_CLEANUP_SYSTEM_HPP_
20 #include "Systems/NetworkSyncSystem.hpp"
43 void update(
float dt)
override;
Interface for ECS systems.
Represents an entity in the ECS (Entity-Component-System) architecture.
Abstract base class for all ECS systems.
Despawns bullets that leave the play area.
float _minX
Left boundary for bullet despawn.
void despawn(const ecs::Entity &entity, uint32_t roomId)
Despawn an entity and notify players in the room.
RoomSystem & _roomSystem
Reference to the RoomSystem.
void update(float dt) override
Update system logic for one frame.
float _maxX
Right boundary for bullet despawn.
NetworkSyncSystem & _networkSync
Reference to the NetworkSyncSystem.
ecs::Registry & _registry
Reference to the ECS registry.
System to handle network-related operations on the server side.
System to handle room-related operations on the server side.
File : GameManager.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue....