Added method to clear input events of an action

This commit is contained in:
AndreaCatania
2018-04-28 19:01:54 +02:00
committed by Andrea Catania
parent 75ff86f8f5
commit c510e2586d
2 changed files with 9 additions and 0 deletions

View File

@ -75,6 +75,7 @@ public:
void action_add_event(const StringName &p_action, const Ref<InputEvent> &p_event);
bool action_has_event(const StringName &p_action, const Ref<InputEvent> &p_event);
void action_erase_event(const StringName &p_action, const Ref<InputEvent> &p_event);
void action_erase_events(const StringName &p_action);
const List<Ref<InputEvent> > *get_action_list(const StringName &p_action);
bool event_is_action(const Ref<InputEvent> &p_event, const StringName &p_action) const;