Skip to content

Commit 7b92cb3

Browse files
authored
Fix typo in ch 10 of the 2D game tutorial (#176)
1 parent a00bd43 commit 7b92cb3

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/building_2d_games/10_handling_input/snippets

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/10_handling_input/snippets/inputbuffer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
// In movement update code.
36-
if(_inputBuffer.COunt > 0)
36+
if(_inputBuffer.Count > 0)
3737
{
3838
Vector2 nextDirection = _inputBuffer.Dequeue();
3939
_position += nextDirection * _speed;

0 commit comments

Comments
 (0)