| 548 | } |
| 549 | |
| 550 | float Input::get_axis(const StringName &p_negative_action, const StringName &p_positive_action) const { |
| 551 | return get_action_strength(p_positive_action) - get_action_strength(p_negative_action); |
| 552 | } |
| 553 | |
| 554 | Vector2 Input::get_vector(const StringName &p_negative_x, const StringName &p_positive_x, const StringName &p_negative_y, const StringName &p_positive_y, float p_deadzone) const { |
| 555 | Vector2 vector = Vector2( |
no outgoing calls
no test coverage detected