Typo Fixed
This commit is contained in:
		@@ -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 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
 | 
					        // 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
 | 
					        // We should change directions
 | 
				
			||||||
        private bool ShouldChangeDirection
 | 
					        protected bool ShouldChangeDirection
 | 
				
			||||||
            => (isMovingRight && (rightWallChecker.IsCollided || !rightGroundChecker.IsCollided)) ||
 | 
					            => (isMovingRight && (rightWallChecker.IsCollided || !rightGroundChecker.IsCollided)) ||
 | 
				
			||||||
                (!isMovingRight && (leftWallChecker.IsCollided || !leftGroundChecker.IsCollided));
 | 
					                (!isMovingRight && (leftWallChecker.IsCollided || !leftGroundChecker.IsCollided));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user