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::ChargedWeapon Struct Reference

#include <ChargedWeapon.hpp>

Collaboration diagram for rtp::ecs::components::ChargedWeapon:

Public Attributes

float fireRate {10.0f}
 Shots per second.
 
float lastShotTime {0.0f}
 Time since last shot.
 
int damage {100}
 Damage per shot.
 

Detailed Description

Definition at line 15 of file ChargedWeapon.hpp.

Member Data Documentation

◆ damage

int rtp::ecs::components::ChargedWeapon::damage {100}

Damage per shot.

Definition at line 18 of file ChargedWeapon.hpp.

◆ fireRate

float rtp::ecs::components::ChargedWeapon::fireRate {10.0f}

Shots per second.

Definition at line 16 of file ChargedWeapon.hpp.

◆ lastShotTime

float rtp::ecs::components::ChargedWeapon::lastShotTime {0.0f}

Time since last shot.

Definition at line 17 of file ChargedWeapon.hpp.


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