Arreglos en la estructura i format del codi

This commit is contained in:
2025-03-01 11:02:08 +01:00
parent c2040d3ded
commit 3562b139c3
10 changed files with 132 additions and 130 deletions

View File

@@ -16,7 +16,7 @@ class Text; // lines 15-15
class Credits
{
private:
struct captions_t
struct Captions
{
std::string label; // Texto a escribir
Color color; // Color del texto
@@ -38,7 +38,7 @@ private:
bool counter_enabled_ = true; // Indica si esta activo el contador
int sub_counter_ = 0; // Contador secundario
Uint32 ticks_ = 0; // Contador de ticks para ajustar la velocidad del programa
std::vector<captions_t> texts_; // Vector con los textos
std::vector<Captions> texts_; // Vector con los textos
// Actualiza las variables
void update();