Currently, in NPC.py, method move_based_on_state() has a check for the _current_state before calling the respective movement method (ex. self.attack_movement()). However, the exact same check is performed inside the attack/patrol/follow_movement methods.
Currently, in NPC.py, method move_based_on_state() has a check for the _current_state before calling the respective movement method (ex. self.attack_movement()). However, the exact same check is performed inside the attack/patrol/follow_movement methods.