diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-10 21:04:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 21:04:23 +0200 |
commit | dcd11faad3802679a43b27155f1b6bc59aa39b60 (patch) | |
tree | b91a7bcb89881e80a105710cd274993c98378029 /scene/2d/node_2d.h | |
parent | 4d2e50eca6f661c0cfb84a2f0b9c9ccd701a9576 (diff) | |
parent | 26fcf2b04ca48566cee6cf32a2a40e8ea1e40eb4 (diff) |
Merge pull request #40253 from madmiraal/add-override-keywords
Add override keywords.
Diffstat (limited to 'scene/2d/node_2d.h')
-rw-r--r-- | scene/2d/node_2d.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/scene/2d/node_2d.h b/scene/2d/node_2d.h index 827c192585..e20f746447 100644 --- a/scene/2d/node_2d.h +++ b/scene/2d/node_2d.h @@ -56,20 +56,20 @@ protected: public: #ifdef TOOLS_ENABLED - virtual Dictionary _edit_get_state() const; - virtual void _edit_set_state(const Dictionary &p_state); + virtual Dictionary _edit_get_state() const override; + virtual void _edit_set_state(const Dictionary &p_state) override; - virtual void _edit_set_position(const Point2 &p_position); - virtual Point2 _edit_get_position() const; + virtual void _edit_set_position(const Point2 &p_position) override; + virtual Point2 _edit_get_position() const override; - virtual void _edit_set_scale(const Size2 &p_scale); - virtual Size2 _edit_get_scale() const; + virtual void _edit_set_scale(const Size2 &p_scale) override; + virtual Size2 _edit_get_scale() const override; - virtual void _edit_set_rotation(float p_rotation); - virtual float _edit_get_rotation() const; - virtual bool _edit_use_rotation() const; + virtual void _edit_set_rotation(float p_rotation) override; + virtual float _edit_get_rotation() const override; + virtual bool _edit_use_rotation() const override; - virtual void _edit_set_rect(const Rect2 &p_edit_rect); + virtual void _edit_set_rect(const Rect2 &p_edit_rect) override; #endif void set_position(const Point2 &p_pos); @@ -119,7 +119,7 @@ public: Transform2D get_relative_transform_to_parent(const Node *p_parent) const; - Transform2D get_transform() const; + Transform2D get_transform() const override; Node2D(); }; |