summaryrefslogtreecommitdiff
path: root/src/gdn_header_template
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-15 19:25:47 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-15 19:25:47 -0400
commit2fd755132f526c48fed2c1867530526971e1cf19 (patch)
treeb02137c78ae5f704c94706bf658d4b45dc986a63 /src/gdn_header_template
parent19f2f508ae2191457c2cc4fa5af0c4313e354880 (diff)
parent7a52122ef736a9525f98c37d3e56c4c3095b61e5 (diff)
Auhh
Merge branch 'master' of holidayrap.tk:boats
Diffstat (limited to 'src/gdn_header_template')
-rw-r--r--src/gdn_header_template27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/gdn_header_template b/src/gdn_header_template
new file mode 100644
index 0000000..d6e3d3e
--- /dev/null
+++ b/src/gdn_header_template
@@ -0,0 +1,27 @@
+#ifndef {HEADER_NAME}
+#define {HEADER_NAME}
+
+#include <Godot.hpp>
+#include <{BASE_CLASS_NAME}.hpp>
+
+namespace godot {
+
+class {CLASS_NAME} : public {BASE_CLASS_NAME} {
+ GODOT_CLASS({CLASS_NAME}, {BASE_CLASS_NAME})
+
+private:
+{VARS}
+
+public:
+ static void _register_methods();
+
+ {CLASS_NAME}();
+ ~{CLASS_NAME}();
+
+ void _init();
+
+{FUNCS}
+};
+
+}
+#endif