update signal name

This commit is contained in:
Hana - Piralein
2023-04-28 13:52:00 +02:00
parent e6dbfe17ce
commit a252607125
2 changed files with 2 additions and 2 deletions
@@ -289,7 +289,7 @@ the other two timers. ``ScoreTimer`` will increment the score by 1.
godot::register_property("mob_scene", &Main::mob_scene, (godot::Ref<godot::PackedScene>)nullptr);
}
In ``_on_MobTimer_timeout()``, we will create a mob instance, pick a random
In ``_on_mob_timer_timeout()``, we will create a mob instance, pick a random
starting location along the ``Path2D``, and set the mob in motion. The
``PathFollow2D`` node will automatically rotate as it follows the path, so we
will use that to select the mob's direction as well as its position.
@@ -391,7 +391,7 @@ In ``game_over()`` we need to call the corresponding ``HUD`` function:
Just a reminder: we don't want to start the new game automatically, so
remove the call to ``new_game()`` in ``_ready()`` if you haven't yet.
Finally, add this to ``_on_ScoreTimer_timeout()`` to keep the display in sync
Finally, add this to ``_on_score_timer_timeout()`` to keep the display in sync
with the changing score:
.. tabs::