I came up with this GDScript pattern to control which enemies are eligible to de...

@bitbraindev@mastodon.gamedev.place

I came up with this GDScript pattern to control which enemies are eligible to demotivate the player. It helps me to keep my code organised and my mind sane. 🧠

#gdscript #godotengine #coding