magic numbers: bullet.cpp
This commit is contained in:
@@ -45,9 +45,9 @@ class Bullet {
|
||||
|
||||
private:
|
||||
// --- Constantes ---
|
||||
static constexpr float VEL_Y = -3.0F; // Velocidad vertical
|
||||
static constexpr float VEL_X_LEFT = -2.0F; // Velocidad izquierda
|
||||
static constexpr float VEL_X_RIGHT = 2.0F; // Velocidad derecha
|
||||
static constexpr float VEL_Y = -0.18F; // Velocidad vertical (pixels/ms)
|
||||
static constexpr float VEL_X_LEFT = -0.12F; // Velocidad izquierda (pixels/ms)
|
||||
static constexpr float VEL_X_RIGHT = 0.12F; // Velocidad derecha (pixels/ms)
|
||||
static constexpr float VEL_X_CENTER = 0.0F; // Velocidad central
|
||||
|
||||
// --- Objetos y punteros ---
|
||||
|
||||
Reference in New Issue
Block a user