intro: clang-tidy readability-function-cognitive-complexity
This commit is contained in:
@@ -69,4 +69,22 @@ class Intro {
|
||||
void renderTexts(); // Dibuja los textos
|
||||
static void renderTextRect(); // Dibuja el rectangulo de fondo del texto;
|
||||
void updatePostState(); // Actualiza el estado POST
|
||||
#ifdef DEBUG
|
||||
void adjustColorComponent(uint8_t& component, bool increase);
|
||||
void adjustAllColorComponents(Color& color, bool increase);
|
||||
void handleDebugColorKeys(SDL_Keycode key, Color& color);
|
||||
void printColorDebugInfo(const Color& color);
|
||||
#endif
|
||||
|
||||
// --- Métodos para manejar cada escena individualmente ---
|
||||
void updateScene0();
|
||||
void updateScene1();
|
||||
void updateScene2();
|
||||
void updateScene3();
|
||||
void updateScene4();
|
||||
void updateScene5();
|
||||
|
||||
// --- Métodos auxiliares para reducir duplicación de código ---
|
||||
void enableCardAndShadow(int index);
|
||||
void switchText(int fromIndex, int toIndex);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user