R-Type
2
Doom but in better
Loading...
Searching...
No Matches
Weapon.hpp
Go to the documentation of this file.
1
#pragma once
2
11
struct
Weapon
{
12
int
damage
;
13
float
fire_rate
;
14
float
cooldown
;
15
bool
shot
;
16
};
Weapon
Represents a weapon and its attributes in the game.
Definition
Weapon.hpp:11
Weapon::fire_rate
float fire_rate
Definition
Weapon.hpp:13
Weapon::shot
bool shot
Definition
Weapon.hpp:15
Weapon::damage
int damage
Definition
Weapon.hpp:12
Weapon::cooldown
float cooldown
Definition
Weapon.hpp:14
game_source
components
Weapon.hpp
Generated on Thu Feb 6 2025 22:34:20 for R-Type by
1.12.0