group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
HealthPackSpawnerSystem.cpp File Reference

Health pack spawner manager system. More...

Include dependency graph for HealthPackSpawnerSystem.cpp:

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 &registry, Position spawnerPos, CollisionShape spawnerShape, HealthPackSpawner &spawner)
 Check if any player overlaps the spawner and transfer the weapon on pickup.
void systems::runHealthPackSpawners (Registry &registry, float dt)
 Tick spawners: check player overlap for pickup, manage cooldowns.

Detailed Description

Health pack spawner manager system.