centralitzada la gestio d'SKIP per a les escenes
This commit is contained in:
@@ -585,16 +585,7 @@ void EscenaTitol::dibuixar() {
|
||||
}
|
||||
|
||||
auto EscenaTitol::checkSkipButtonPressed() -> bool {
|
||||
auto* input = Input::get();
|
||||
|
||||
for (auto action : SKIP_BUTTONS_TITOL) {
|
||||
if (input->checkActionPlayer1(action, Input::DO_NOT_ALLOW_REPEAT) ||
|
||||
input->checkActionPlayer2(action, Input::DO_NOT_ALLOW_REPEAT)) {
|
||||
return true; // Don't track players here, just skip
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
return Input::get()->checkAnyPlayerAction(ARCADE_BUTTONS);
|
||||
}
|
||||
|
||||
auto EscenaTitol::checkStartGameButtonPressed() -> bool {
|
||||
|
||||
Reference in New Issue
Block a user