group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
PowerupSpawner Struct Reference

ECS component: world powerup pickup point with respawn cooldown. More...

#include <PowerupSpawner.hpp>

Public Attributes

PowerupType type = PowerupType::Damage
 Type of powerup this spawner provides.
float spawnCooldown = 0
 Seconds remaining before the powerup reappears.
bool hasPowerup = false
 True if powerup is available for pickup.

Detailed Description

ECS component: world powerup pickup point with respawn cooldown.

Member Data Documentation

◆ hasPowerup

bool PowerupSpawner::hasPowerup = false

True if powerup is available for pickup.

◆ spawnCooldown

float PowerupSpawner::spawnCooldown = 0

Seconds remaining before the powerup reappears.

◆ type

PowerupType PowerupSpawner::type = PowerupType::Damage

Type of powerup this spawner provides.


The documentation for this struct was generated from the following file: