diff --git a/src/example.cpp b/src/example.cpp index a94175d..d49a92d 100644 --- a/src/example.cpp +++ b/src/example.cpp @@ -48,9 +48,7 @@ int Example::def_args(int p_a, int p_b) { return p_a + p_b; } -void Example::_notification(int p_what) { - UtilityFunctions::print("Notification: ", String::num(p_what)); -} + bool Example::_set(const StringName &p_name, const Variant &p_value) { String name = p_name; @@ -335,3 +333,6 @@ bool Example::_has_point(const Vector2 &point) const { return false; } +void Example::_ready() { + UtilityFunctions::print("this is a test"); +} \ No newline at end of file diff --git a/src/example.h b/src/example.h index ab9c8c2..048b958 100644 --- a/src/example.h +++ b/src/example.h @@ -122,6 +122,7 @@ public: // Virtual function override (no need to bind manually). virtual bool _has_point(const Vector2 &point) const override; + void _ready(); }; VARIANT_ENUM_CAST(Example::Constants);