mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
minor typo fix in state_design_pattern tutorial
This commit is contained in:
@@ -79,7 +79,7 @@ Second, there are some methods in the script for moving, but no implementation.
|
||||
just uses ``pass`` to show that it will not execute any instructions when the methods are called. This is important.
|
||||
|
||||
Third, the ``_physics_process(delta)`` method is actually implemented here. This allows the states to have a default
|
||||
``_phyics_process(delta)`` implementation where ``velocity`` is used to move the player. The way that the states can modify
|
||||
``_physics_process(delta)`` implementation where ``velocity`` is used to move the player. The way that the states can modify
|
||||
the movement of the player is to use the ``velocity`` variable defined in their base class.
|
||||
|
||||
Finally, this script is actually being designated as a class named ``State``. This makes refactoring the code
|
||||
|
||||
Reference in New Issue
Block a user