Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::ecs::components::Powerup Struct Reference

Component representing a powerup pickup. More...

#include <Powerup.hpp>

Collaboration diagram for rtp::ecs::components::Powerup:

Public Attributes

PowerupType type {PowerupType::Heal}
 Powerup type.
 
float value {0.0f}
 Heal amount or effect strength.
 
float duration {0.0f}
 Duration for timed effects (0 = permanent)
 

Detailed Description

Component representing a powerup pickup.

Definition at line 27 of file Powerup.hpp.

Member Data Documentation

◆ duration

float rtp::ecs::components::Powerup::duration {0.0f}

Duration for timed effects (0 = permanent)

Definition at line 30 of file Powerup.hpp.

◆ type

PowerupType rtp::ecs::components::Powerup::type {PowerupType::Heal}

Powerup type.

Definition at line 28 of file Powerup.hpp.

◆ value

float rtp::ecs::components::Powerup::value {0.0f}

Heal amount or effect strength.

Definition at line 29 of file Powerup.hpp.


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