20 #ifndef BUBBA_3D_CONTROLSMANAGER_H 21 #define BUBBA_3D_CONTROLSMANAGER_H 26 typedef std::map<int,std::vector<Input*>> functionCollection ;
83 void addBindings(
int function, std::initializer_list<Input*> buttons);
110 functionCollection functions;
111 void addBindingsForNewFunction(
int function, std::initializer_list<Input*> buttons);
112 void addBindingsForExistingFunction(
int function, std::initializer_list<Input*> buttons,
113 std::vector<Input*> bindings);
114 void removeBindingsWithActivator(std::vector<Input*> *bindings,ControlStatus::Activator toRemove);
118 #endif //BUBBA_3D_CONTROLSMANAGER_H The class that contains information about a function at the state of creation.
ControlStatus getStatus(int function)
void addBinding(int function, Input *button)
Adds a button to specified function.
static ControlsManager * getInstance()
Gets the singleton instance of the controls manager.
void addBindings(int function, std::initializer_list< Input * > buttons)