MCPcopy Create free account
hub / github.com/EasyRPG/Player / UpdateButtonRemove

Method UpdateButtonRemove

src/scene_settings.cpp:593–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593void Scene_Settings::UpdateButtonRemove() {
594 if (Input::IsTriggered(Input::DECISION)) {
595 if (input_window->RemoveMapping()) {
596 Main_Data::game_system->SePlay(Main_Data::game_system->GetSystemSE(Game_System::SFX_Decision));
597 options_window->Pop();
598 } else {
599 Main_Data::game_system->SePlay(Main_Data::game_system->GetSystemSE(Game_System::SFX_Buzzer));
600 }
601 }
602}
603
604bool Scene_Settings::RefreshInputEmergencyReset() {
605 if (Input::GetAllRawPressed().count() >= 4) {

Callers

nothing calls this directly

Calls 3

RemoveMappingMethod · 0.80
SePlayMethod · 0.80
PopMethod · 0.45

Tested by

no test coverage detected