group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
KillzoneSystem.hpp File Reference

Killzone trigger system: kill any player overlapping a killzone. More...

#include "ecs/registry/Registry.hpp"
#include "network/NetKillEvent.hpp"
#include <vector>
Include dependency graph for KillzoneSystem.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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::runKillzones (Registry &registry, std::vector< NetKillEvent > &killEvents)
 Tick killzones: for each killzone trigger, any player whose AABB overlaps it takes lethal damage.

Detailed Description

Killzone trigger system: kill any player overlapping a killzone.