For my game I am going to have a bunch of different kinds of enemies. I am going to have some common logic for all the enemies and some logic specific to each enemy.
Whats the best way to make systems that can operate over multiple kinds of enemies?
I could imagine myself making a component enum called enemy that holds all the kinds of enemies I have in my game, then just calling my systems with filters for enemies. That seems like it would work. But I was wondering if there was some other way of doing it.
I have never needed to have a system be this generic before, so I wanted to try and catch any problems I might have before they arise.