InputEvent: Renamed "pos" property to "position"

Make the naming consistent with other classes.
This commit is contained in:
Andreas Haas
2017-06-03 10:54:24 +02:00
parent 5a6d4971e1
commit 9bc5348961
51 changed files with 282 additions and 282 deletions

View File

@ -265,11 +265,11 @@ public:
void set_button_mask(int p_mask);
int get_button_mask() const;
void set_pos(const Vector2 &p_pos);
Vector2 get_pos() const;
void set_position(const Vector2 &p_pos);
Vector2 get_position() const;
void set_global_pos(const Vector2 &p_global_pos);
Vector2 get_global_pos() const;
void set_global_position(const Vector2 &p_global_pos);
Vector2 get_global_position() const;
InputEventMouse();
};
@ -390,8 +390,8 @@ public:
void set_index(int p_index);
int get_index() const;
void set_pos(const Vector2 &p_pos);
Vector2 get_pos() const;
void set_position(const Vector2 &p_pos);
Vector2 get_position() const;
void set_pressed(bool p_pressed);
virtual bool is_pressed() const;
@ -416,8 +416,8 @@ public:
void set_index(int p_index);
int get_index() const;
void set_pos(const Vector2 &p_pos);
Vector2 get_pos() const;
void set_position(const Vector2 &p_pos);
Vector2 get_position() const;
void set_relative(const Vector2 &p_relative);
Vector2 get_relative() const;