|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
Component for visual shield effect displayed around the player. More...
#include <ShieldVisual.hpp>
Public Attributes | |
| float | animationTime {0.0f} |
| Time accumulator for pulse animation. | |
| float | alpha {200.0f} |
| Current transparency (150-255, pulsing effect) | |
Component for visual shield effect displayed around the player.
This component is client-side only and manages the visual representation of the shield power-up. It displays two green pulsing circles around the player entity when active.
The shield visual is automatically removed when:
Definition at line 24 of file ShieldVisual.hpp.
| float rtp::ecs::components::ShieldVisual::alpha {200.0f} |
Current transparency (150-255, pulsing effect)
Definition at line 26 of file ShieldVisual.hpp.
| float rtp::ecs::components::ShieldVisual::animationTime {0.0f} |
Time accumulator for pulse animation.
Definition at line 25 of file ShieldVisual.hpp.
Referenced by rtp::client::NetworkSyncSystem::onEntityDeath(), and rtp::client::ShieldSystem::update().