refactor(enemies): renombra QUADRAT/MOLINILLO a SQUARE/PINWHEEL

This commit is contained in:
JailDesigner committed 2026-05-24 07:40:54 +02:00
1 parent 6210985548
commit e5e3729215
13 files changed
+200 -200

No files matched your search

+2 -2
View File
@@ -242,12 +242,12 @@ namespace Graphics {
// Calcular posición de l'esquina superior izquierda
// restant la meitat de las dimensions del point central
Vec2 posicio_esquerra = {
Vec2 top_left_position = {
.x = centre_punt.x - (text_width / 2.0F),
.y = centre_punt.y - (text_height / 2.0F)};
// Delegar al método render() existent
render(text, posicio_esquerra, scale, spacing, brightness, color);
render(text, top_left_position, scale, spacing, brightness, color);
}
auto VectorText::getTextWidth(const std::string& text, float scale, float spacing) -> float {