Bläddra i källkod

Merge pull request #3592 from VlachJosef/master

minor typo fix in state_design_pattern tutorial
Rémi Verschelde 5 år sedan
förälder
incheckning
1ea498adf0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      tutorials/misc/state_design_pattern.rst

+ 1 - 1
tutorials/misc/state_design_pattern.rst

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