Title: clang-tidy readability-function-cognitive-complexity
This commit is contained in:
@@ -214,9 +214,9 @@ void Intro::enableCardAndShadow(int index) {
|
||||
shadow_sprites_.at(index)->enable();
|
||||
}
|
||||
|
||||
void Intro::switchText(int fromIndex, int toIndex) {
|
||||
texts_.at(fromIndex)->setEnabled(false);
|
||||
texts_.at(toIndex)->setEnabled(true);
|
||||
void Intro::switchText(int from_index, int to_index) {
|
||||
texts_.at(from_index)->setEnabled(false);
|
||||
texts_.at(to_index)->setEnabled(true);
|
||||
}
|
||||
|
||||
// Actualiza las variables del objeto
|
||||
|
||||
Reference in New Issue
Block a user