group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
WeaponSpawnerSystem.hpp
Go to the documentation of this file.
1
3
4#pragma once
11#include "entt/entity/entity.hpp"
12
14namespace systems
15{
16
17constexpr float weaponCooldownTime = 10.0f;
18
22void runWeaponSpawners(Registry& registry, float dt);
23
24} // namespace systems
AABB collision shape component for physics entities.
Per-tick player input snapshot for networking and prediction.
Player component.
World-space position component for ECS entities.
Shared ECS registry type alias for the game engine.
entt::registry Registry
Shared ECS registry type alias.
Definition Registry.hpp:11
Weapon spawner information.
Client-only input sampling system — split into two halves so mouse look can run every iterate() (smoo...
Definition DebugUI.hpp:15
constexpr float weaponCooldownTime
Definition WeaponSpawnerSystem.hpp:17
void runWeaponSpawners(Registry &registry, float dt)
Tick weapon spawners: check player overlap for pickup, manage cooldowns.
Definition WeaponSpawnerSystem.cpp:110