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

Method Action

src/engine/Input.cpp:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48Action::Action(std::function<void(bool, float)> func)
49 : function(func)
50 , isEnabled(true)
51{
52}
53
54std::multimap<ActionBinding, int /* key */> Input::actionBindingToKeyMap;
55std::map<ActionBinding, int /*mouseButton*/> Input::actionBindingToMouseButtonMap;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected