r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
ecs::Projectile Struct Referencefinal

#include <Component.hpp>

+ Inheritance diagram for ecs::Projectile:
+ Collaboration diagram for ecs::Projectile:

Public Types

enum  Type { BASIC , SUPERCHARGED }
 

Public Attributes

Type type
 
float damage
 
float lifetime
 
float current_lifetime
 
- Public Attributes inherited from ecs::IComponent
std::string id
 

Detailed Description

Definition at line 86 of file Component.hpp.

Member Enumeration Documentation

◆ Type

Enumerator
BASIC 
SUPERCHARGED 

Definition at line 88 of file Component.hpp.

Member Data Documentation

◆ current_lifetime

float ecs::Projectile::current_lifetime

Definition at line 96 of file Component.hpp.

◆ damage

float ecs::Projectile::damage

Definition at line 94 of file Component.hpp.

◆ lifetime

float ecs::Projectile::lifetime

Definition at line 95 of file Component.hpp.

◆ type

Type ecs::Projectile::type

Definition at line 93 of file Component.hpp.


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