From 106ee4efca02727cd65eeeea97f6420b6ed90eab Mon Sep 17 00:00:00 2001 From: iv0rye <78963145+iv0rye@users.noreply.github.com> Date: Tue, 21 Jan 2025 13:48:47 +1100 Subject: [PATCH] Update 04.creating_the_enemy.rst (#10455) * Update 04.creating_the_enemy.rst --- getting_started/first_2d_game/04.creating_the_enemy.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/getting_started/first_2d_game/04.creating_the_enemy.rst b/getting_started/first_2d_game/04.creating_the_enemy.rst index 859879da7..cef37242a 100644 --- a/getting_started/first_2d_game/04.creating_the_enemy.rst +++ b/getting_started/first_2d_game/04.creating_the_enemy.rst @@ -123,6 +123,8 @@ to the ``Mob`` and add this code: QueueFree(); } +``queue_free()`` is a function that essentially 'frees', or deletes, the node at the end of the frame. + This completes the `Mob` scene. With the player and enemies ready, in the next part, we'll bring them together