Sean-Nishi / M1Wengine

A action-adventure game developed with Python 3.11.1 and pygame. Complete missions before timer expires.
3 stars 0 forks source link

NPC move_based_on_state and _movement methods check #372

Open Sean-Nishi opened 9 months ago

Sean-Nishi commented 9 months ago

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.