refactor: renombra jugador*/zona/radi/MARGE/origen/letra residuals a anglès
This commit is contained in:
@@ -61,7 +61,7 @@ namespace Effects {
|
||||
}
|
||||
}
|
||||
|
||||
void FireworkManager::spawn(const Vec2& origen,
|
||||
void FireworkManager::spawn(const Vec2& origin,
|
||||
SDL_Color color,
|
||||
float initial_speed,
|
||||
int n_points,
|
||||
@@ -74,7 +74,7 @@ namespace Effects {
|
||||
|
||||
// Notificar als subscriptors (playfield pulses, etc.).
|
||||
if (spawn_callback_) {
|
||||
spawn_callback_(origen);
|
||||
spawn_callback_(origin);
|
||||
}
|
||||
|
||||
const float ANGLE_STEP = 2.0F * Defaults::Math::PI / static_cast<float>(n_points);
|
||||
@@ -94,7 +94,7 @@ namespace Effects {
|
||||
const float SPEED =
|
||||
initial_speed + (randSigned() * Defaults::FX::Firework::SPEED_VARIATION);
|
||||
|
||||
fw->head = origen;
|
||||
fw->head = origin;
|
||||
fw->velocity = {.x = std::cos(ANGLE) * SPEED, .y = std::sin(ANGLE) * SPEED};
|
||||
fw->acceleration = Defaults::FX::Firework::FRICTION;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user