|
group2 0.1.0
CSE 125 Group 2
|
Health pack spawner manager system. More...
#include "HealthPackSpawnerSystem.hpp"#include "PlayerStatusSystem.hpp"#include "ecs/components/CollisionShape.hpp"#include "ecs/components/Health.hpp"#include "ecs/components/HealthPackSpawner.hpp"#include "ecs/components/Player.hpp"#include "ecs/components/Position.hpp"#include "ecs/registry/Registry.hpp"#include "ecs/systems/PickupGeometry.hpp"Namespaces | |
| namespace | systems |
| Client-only input sampling system — split into two halves so mouse look can run every iterate() (smooth camera at any FPS) while movement keys run once per physics tick group (server-consistent). | |
Functions | |
| void | systems::checkForPlayers (Registry ®istry, Position spawnerPos, CollisionShape spawnerShape, HealthPackSpawner &spawner) |
| Check if any player overlaps the spawner and transfer the weapon on pickup. | |
| void | systems::runHealthPackSpawners (Registry ®istry, float dt) |
| Tick spawners: check player overlap for pickup, manage cooldowns. | |
Health pack spawner manager system.