InputEventJoypadMotion: Add missing is_pressed() method.

This commit is contained in:
Andreas Haas
2017-08-12 13:03:44 +02:00
parent 23f6d3fa69
commit 5052cb2b91
2 changed files with 6 additions and 0 deletions

View File

@ -348,6 +348,7 @@ public:
void set_axis_value(float p_value);
float get_axis_value() const;
virtual bool is_pressed() const;
virtual bool action_match(const Ref<InputEvent> &p_event) const;
virtual bool is_action_type() const { return true; }