Refer to NativeScript 1.1 as 'new' rather than 'upcoming' in the GDNative cpp example

(cherry picked from commit d85e844a94)
This commit is contained in:
Ivorius
2021-12-29 13:51:12 +01:00
committed by Rémi Verschelde
parent d963962be3
commit 79d82a769f

View File

@@ -335,7 +335,7 @@ of how much time has passed and calculates a new position for our sprite using a
simple sine and cosine function. What stands out is calling
``owner->set_position`` to call one of the build in methods of our Sprite. This
is because our class is a container class; ``owner`` points to the actual Sprite
node our script relates to. In the upcoming NativeScript 1.1, ``set_position``
node our script relates to. Since NativeScript 1.1, ``set_position``
can be called directly on our class.
There is one more C++ file we need; we'll name it ``gdlibrary.cpp``. Our