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

Variables

constexpr float SPEED = 500.0f
 
constexpr float DIAGONAL_SPEED_MULTIPLIER = 0.707f
 
constexpr float SPRITE_WIDTH = 33.0f
 
constexpr float SPRITE_HEIGHT = 17.0f
 
constexpr float SCALE = 2.0f
 
constexpr int FRAMES_PER_ROW = 5
 
constexpr int TOTAL_FRAMES = 5
 

Variable Documentation

◆ DIAGONAL_SPEED_MULTIPLIER

float cli::GameConfig::Player::DIAGONAL_SPEED_MULTIPLIER = 0.707f
inlineconstexpr

Definition at line 25 of file GameConfig.hpp.

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

◆ FRAMES_PER_ROW

int cli::GameConfig::Player::FRAMES_PER_ROW = 5
inlineconstexpr

Definition at line 29 of file GameConfig.hpp.

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

◆ SCALE

float cli::GameConfig::Player::SCALE = 2.0f
inlineconstexpr

Definition at line 28 of file GameConfig.hpp.

Referenced by cli::GameSolo::GameSolo(), and cli::GameSolo::update().

◆ SPEED

float cli::GameConfig::Player::SPEED = 500.0f
inlineconstexpr

Definition at line 24 of file GameConfig.hpp.

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

◆ SPRITE_HEIGHT

float cli::GameConfig::Player::SPRITE_HEIGHT = 17.0f
inlineconstexpr

◆ SPRITE_WIDTH

float cli::GameConfig::Player::SPRITE_WIDTH = 33.0f
inlineconstexpr

◆ TOTAL_FRAMES

int cli::GameConfig::Player::TOTAL_FRAMES = 5
inlineconstexpr

Definition at line 30 of file GameConfig.hpp.