Typo Fixed

This commit is contained in:
Syntriax 2022-02-21 18:47:01 +03:00
parent 94709d996e
commit 51578e4130
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ namespace AI
// If moving Right, and either there's no more ground to move into or there is a wall at the Right side of the enemy OR
// If moving Left, and either there's no more ground to move into or there is a wall at the Left side of the enemy
// We should change directions
private bool ShouldChangeDirection
protected bool ShouldChangeDirection
=> (isMovingRight && (rightWallChecker.IsCollided || !rightGroundChecker.IsCollided)) ||
(!isMovingRight && (leftWallChecker.IsCollided || !leftGroundChecker.IsCollided));