summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core/NodePath.hpp
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-04-06 02:32:24 +0200
committerKarroffel <therzog@mail.de>2017-04-06 02:32:24 +0200
commit5e3b01f0f136819b5628d4edec847eac2a4374a5 (patch)
tree8673ea914db1407a5f13cbee2ae6d1ae12b63b5d /include/godot_cpp/core/NodePath.hpp
parent63c2b9d474784447d01cb4c90aabdfd3ab5e373c (diff)
downloadredot-cpp-5e3b01f0f136819b5628d4edec847eac2a4374a5.tar.gz
some NodePath fixes and better handling of Object type arguments
Diffstat (limited to 'include/godot_cpp/core/NodePath.hpp')
-rw-r--r--include/godot_cpp/core/NodePath.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/godot_cpp/core/NodePath.hpp b/include/godot_cpp/core/NodePath.hpp
index c941ad0..3f75ca1 100644
--- a/include/godot_cpp/core/NodePath.hpp
+++ b/include/godot_cpp/core/NodePath.hpp
@@ -24,7 +24,11 @@ class GD_CPP_CORE_API NodePath
public:
NodePath();
- NodePath(const String &from);
+ NodePath(const NodePath &other);
+
+ NodePath(const String& from);
+
+ NodePath(const char *contents);
String get_name(const int idx) const;
@@ -42,6 +46,8 @@ public:
operator String() const;
+ void operator =(const NodePath& other);
+
~NodePath();
};