diff options
Diffstat (limited to 'test/src/example.h')
-rw-r--r-- | test/src/example.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/src/example.h b/test/src/example.h index 1c57720..7da7b08 100644 --- a/test/src/example.h +++ b/test/src/example.h @@ -220,4 +220,20 @@ protected: virtual int test_function() override { return 25; } }; +class ExampleRuntime : public Node { + GDCLASS(ExampleRuntime, Node); + + int prop_value = 12; + +protected: + static void _bind_methods(); + +public: + void set_prop_value(int p_prop_value); + int get_prop_value() const; + + ExampleRuntime(); + ~ExampleRuntime(); +}; + #endif // EXAMPLE_CLASS_H |