MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / onInputAction

Method onInputAction

src/ui/Menu_Status.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool Menu_Status::onInputAction(Engine::ActionType action)
87{
88 bool baseclassClose = Menu::onInputAction(action);
89 // close this menu if either the parent function wants to close or this function
90 return baseclassClose || (action == Engine::ActionType::UI_ToggleStatusMenu);
91}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected