Skip to content

Commit 1269cde

Browse files
committed
hightlight to highlight
1 parent c13ed8c commit 1269cde

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/building_2d_games/23_completing_the_game

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/23_completing_the_game/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ Next, we need to initialize the queue. In the `Slime` class, locate the `Initia
303303

304304
Next, we need to update the input handling method to store the inputs in the queue instead of immediately overwriting the `_nextDirection` field. In the `Slime` class, locate the `HandleInput` method and update it to the following
305305

306-
[!code-csharp[](./snippets/slime/handleinput.cs?hightlight=3,22-38)]
306+
[!code-csharp[](./snippets/slime/handleinput.cs?highlight=3,22-38)]
307307

308308
1. The `potentialNewDirection` is now given the initial value of [**Vector2.Zero**](xref:Microsoft.Xna.Framework.Vector2.Zero).
309309
2. A check is made to see if the player has pressed a direction key and if the input buffer is not already at maximum capacity.

0 commit comments

Comments
 (0)