summaryrefslogtreecommitdiffstats
path: root/include/core/NodePath.hpp
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2018-11-24 09:09:41 +1100
committerBastiaan Olij <mux213@gmail.com>2018-11-24 09:09:41 +1100
commitfc20fa3fce2f30c96fa2bbf8d460817f91b90e81 (patch)
treedecd51288822651ad34fd270e68a2f2a54d0bd8d /include/core/NodePath.hpp
parent0a6f5d052a0d05e07ca1b7eab8e53bbd8450a991 (diff)
downloadredot-cpp-fc20fa3fce2f30c96fa2bbf8d460817f91b90e81.tar.gz
Implementing clang-format and applying it to all classes
Diffstat (limited to 'include/core/NodePath.hpp')
-rw-r--r--include/core/NodePath.hpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/include/core/NodePath.hpp b/include/core/NodePath.hpp
index e9e60ac..aaa6727 100644
--- a/include/core/NodePath.hpp
+++ b/include/core/NodePath.hpp
@@ -7,16 +7,15 @@
namespace godot {
-
-class NodePath
-{
+class NodePath {
godot_node_path _node_path;
+
public:
NodePath();
NodePath(const NodePath &other);
- NodePath(const String& from);
+ NodePath(const String &from);
NodePath(const char *contents);
@@ -34,15 +33,13 @@ public:
operator String() const;
- void operator =(const NodePath& other);
+ void operator=(const NodePath &other);
- bool operator ==(const NodePath& other);
+ bool operator==(const NodePath &other);
~NodePath();
};
-
-
-}
+} // namespace godot
#endif // NODEPATH_H