group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
HealthPackSpawner.hpp
Go to the documentation of this file.
1
3
4#pragma once
5
8{
9 float healAmount = 75.0f;
10 float spawnCooldown = 0;
11 bool hasPack = false;
12};
ECS component: world weapon pickup point with respawn cooldown.
Definition HealthPackSpawner.hpp:8
float healAmount
Definition HealthPackSpawner.hpp:9
float spawnCooldown
Seconds remaining before the weapon reappears.
Definition HealthPackSpawner.hpp:10
bool hasPack
True if a weapon is available for pickup.
Definition HealthPackSpawner.hpp:11