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

Variables

constexpr float HEALTH = 20.0f
 
constexpr float SPEED = 80.0f
 
constexpr float SPRITE_WIDTH = 18.0f
 
constexpr float SPRITE_HEIGHT = 18.0f
 
constexpr float SCALE = 2.0f
 
constexpr float ROTATION_SPEED = 90.0f
 
constexpr float SPAWN_RATE = 1.0f
 
constexpr int ANIMATION_FRAMES = 11
 
constexpr float ANIMATION_DURATION = 0.5f
 
constexpr int FRAMES_PER_ROW = 11
 

Variable Documentation

◆ ANIMATION_DURATION

float cli::GameConfig::Asteroid::Small::ANIMATION_DURATION = 0.5f
inlineconstexpr

Definition at line 120 of file GameConfig.hpp.

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

◆ ANIMATION_FRAMES

int cli::GameConfig::Asteroid::Small::ANIMATION_FRAMES = 11
inlineconstexpr

Definition at line 119 of file GameConfig.hpp.

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

◆ FRAMES_PER_ROW

int cli::GameConfig::Asteroid::Small::FRAMES_PER_ROW = 11
inlineconstexpr

Definition at line 121 of file GameConfig.hpp.

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

◆ HEALTH

float cli::GameConfig::Asteroid::Small::HEALTH = 20.0f
inlineconstexpr

Definition at line 112 of file GameConfig.hpp.

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

◆ ROTATION_SPEED

float cli::GameConfig::Asteroid::Small::ROTATION_SPEED = 90.0f
inlineconstexpr

Definition at line 117 of file GameConfig.hpp.

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

◆ SCALE

float cli::GameConfig::Asteroid::Small::SCALE = 2.0f
inlineconstexpr

Definition at line 116 of file GameConfig.hpp.

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

◆ SPAWN_RATE

float cli::GameConfig::Asteroid::Small::SPAWN_RATE = 1.0f
inlineconstexpr

Definition at line 118 of file GameConfig.hpp.

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

◆ SPEED

float cli::GameConfig::Asteroid::Small::SPEED = 80.0f
inlineconstexpr

Definition at line 113 of file GameConfig.hpp.

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

◆ SPRITE_HEIGHT

float cli::GameConfig::Asteroid::Small::SPRITE_HEIGHT = 18.0f
inlineconstexpr

Definition at line 115 of file GameConfig.hpp.

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

◆ SPRITE_WIDTH

float cli::GameConfig::Asteroid::Small::SPRITE_WIDTH = 18.0f
inlineconstexpr

Definition at line 114 of file GameConfig.hpp.

Referenced by cli::SpawnSystem::spawnAsteroid(), and cli::AsteroidSystem::update().