37 static constexpr std::array<PowerupConfig, 7> k_kPowerupConfigs{{
52 return k_kPowerupConfigs[
static_cast<std::size_t
>(type)];
Powerup spawner information.
PowerupType
Definition PowerupSpawner.hpp:8
@ Shield
Definition PowerupSpawner.hpp:10
@ Damage
Definition PowerupSpawner.hpp:9
const glm::vec3 k_powerupPickupHalfExtents
Definition PowerupState.hpp:33
const PowerupConfig & getPowerupConfig(PowerupType type)
Definition PowerupState.hpp:35
constexpr float k_powerupInitialSpawnDelaySeconds
Definition PowerupState.hpp:31
constexpr float k_powerupRespawnCooldownSeconds
Definition PowerupState.hpp:32
Definition PowerupState.hpp:13
PowerupType type
Definition PowerupState.hpp:14
float timeRemaining
Definition PowerupState.hpp:15
Definition PowerupState.hpp:24
PowerupType type
Definition PowerupState.hpp:25
float spawnCooldown
Definition PowerupState.hpp:27
float duration
Definition PowerupState.hpp:26
float amount
Definition PowerupState.hpp:28
Definition PowerupState.hpp:19
std::vector< ActivePowerup > active
Definition PowerupState.hpp:20