Selaa lähdekoodia

Update 04.creating_the_enemy.rst (#10455)

* Update 04.creating_the_enemy.rst
iv0rye 6 kuukautta sitten
vanhempi
commit
106ee4efca
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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