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

Variables

constexpr float HEALTH = 1.0f
 
constexpr float DAMAGE = 5.0f
 
constexpr float SPEED = 80.0f
 
constexpr float SPRITE_WIDTH = 32.0f
 
constexpr float SPRITE_HEIGHT = 32.0f
 
constexpr float SCALE = 2.0f
 
constexpr float SHOOT_COOLDOWN = 2.0f
 
constexpr float SPAWN_RATE = 2.0f
 
constexpr int ANIMATION_FRAMES = 4
 
constexpr float ANIMATION_DURATION = 0.5f
 
constexpr int FRAMES_PER_ROW = 4
 

Variable Documentation

◆ ANIMATION_DURATION

float cli::GameConfig::Enemy::Easy::ANIMATION_DURATION = 0.5f
inlineconstexpr

Definition at line 94 of file GameConfig.hpp.

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

◆ ANIMATION_FRAMES

int cli::GameConfig::Enemy::Easy::ANIMATION_FRAMES = 4
inlineconstexpr

Definition at line 93 of file GameConfig.hpp.

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

◆ DAMAGE

float cli::GameConfig::Enemy::Easy::DAMAGE = 5.0f
inlineconstexpr

Definition at line 86 of file GameConfig.hpp.

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

◆ FRAMES_PER_ROW

int cli::GameConfig::Enemy::Easy::FRAMES_PER_ROW = 4
inlineconstexpr

Definition at line 95 of file GameConfig.hpp.

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

◆ HEALTH

float cli::GameConfig::Enemy::Easy::HEALTH = 1.0f
inlineconstexpr

Definition at line 85 of file GameConfig.hpp.

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

◆ SCALE

float cli::GameConfig::Enemy::Easy::SCALE = 2.0f
inlineconstexpr

Definition at line 90 of file GameConfig.hpp.

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

◆ SHOOT_COOLDOWN

float cli::GameConfig::Enemy::Easy::SHOOT_COOLDOWN = 2.0f
inlineconstexpr

Definition at line 91 of file GameConfig.hpp.

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

◆ SPAWN_RATE

float cli::GameConfig::Enemy::Easy::SPAWN_RATE = 2.0f
inlineconstexpr

Definition at line 92 of file GameConfig.hpp.

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

◆ SPEED

float cli::GameConfig::Enemy::Easy::SPEED = 80.0f
inlineconstexpr

Definition at line 87 of file GameConfig.hpp.

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

◆ SPRITE_HEIGHT

float cli::GameConfig::Enemy::Easy::SPRITE_HEIGHT = 32.0f
inlineconstexpr

Definition at line 89 of file GameConfig.hpp.

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

◆ SPRITE_WIDTH

float cli::GameConfig::Enemy::Easy::SPRITE_WIDTH = 32.0f
inlineconstexpr