Added directionToPlayer method in enemy.