Update 04.creating_the_enemy.rst (#10455)

* Update 04.creating_the_enemy.rst
This commit is contained in:
iv0rye
2025-01-21 13:48:47 +11:00
committed by GitHub
parent e4a36fe2d9
commit 106ee4efca

View File

@@ -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