diff options
Diffstat (limited to 'test/src/example.cpp')
-rw-r--r-- | test/src/example.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/src/example.cpp b/test/src/example.cpp index 692d004..f51db57 100644 --- a/test/src/example.cpp +++ b/test/src/example.cpp @@ -755,3 +755,11 @@ ExampleRuntime::ExampleRuntime() { ExampleRuntime::~ExampleRuntime() { } + +void ExamplePrzykład::_bind_methods() { + ClassDB::bind_method(D_METHOD("get_the_word"), &ExamplePrzykład::get_the_word); +} + +String ExamplePrzykład::get_the_word() const { + return U"słowo to przykład"; +} |