Browse Source

Update 04.creating_the_enemy.rst (#10455)

* Update 04.creating_the_enemy.rst
iv0rye 6 months ago
parent
commit
106ee4efca
1 changed files with 2 additions and 0 deletions
  1. 2 0
      getting_started/first_2d_game/04.creating_the_enemy.rst

+ 2 - 0
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