r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
cli::GameConfig::Hitbox Namespace Reference

Variables

constexpr float PLAYER_RADIUS = 20.0f
 
constexpr float ENEMY_RADIUS = 15.0f
 
constexpr float PROJECTILE_BASIC_RADIUS = 5.0f
 
constexpr float PROJECTILE_SUPERCHARGED_RADIUS = 8.0f
 
constexpr float ASTEROID_SMALL_RADIUS = 25.0f
 
constexpr float ASTEROID_MEDIUM_RADIUS = 40.0f
 
constexpr float ASTEROID_LARGE_RADIUS = 60.0f
 

Variable Documentation

◆ ASTEROID_LARGE_RADIUS

float cli::GameConfig::Hitbox::ASTEROID_LARGE_RADIUS = 60.0f
inlineconstexpr

Definition at line 154 of file GameConfig.hpp.

◆ ASTEROID_MEDIUM_RADIUS

float cli::GameConfig::Hitbox::ASTEROID_MEDIUM_RADIUS = 40.0f
inlineconstexpr

Definition at line 153 of file GameConfig.hpp.

◆ ASTEROID_SMALL_RADIUS

float cli::GameConfig::Hitbox::ASTEROID_SMALL_RADIUS = 25.0f
inlineconstexpr

Definition at line 152 of file GameConfig.hpp.

Referenced by cli::SpawnSystem::spawnAsteroid().

◆ ENEMY_RADIUS

float cli::GameConfig::Hitbox::ENEMY_RADIUS = 15.0f
inlineconstexpr

Definition at line 149 of file GameConfig.hpp.

Referenced by cli::SpawnSystem::spawnEnemy(), and cli::SpawnSystem::spawnWave().

◆ PLAYER_RADIUS

float cli::GameConfig::Hitbox::PLAYER_RADIUS = 20.0f
inlineconstexpr

Definition at line 148 of file GameConfig.hpp.

Referenced by cli::GameSolo::GameSolo().

◆ PROJECTILE_BASIC_RADIUS

float cli::GameConfig::Hitbox::PROJECTILE_BASIC_RADIUS = 5.0f
inlineconstexpr

Definition at line 150 of file GameConfig.hpp.

Referenced by cli::ProjectileManager::createProjectile().

◆ PROJECTILE_SUPERCHARGED_RADIUS

float cli::GameConfig::Hitbox::PROJECTILE_SUPERCHARGED_RADIUS = 8.0f
inlineconstexpr

Definition at line 151 of file GameConfig.hpp.

Referenced by cli::ProjectileManager::createProjectile().