I am making a simple top down 2d game in c# with xna 4.0, and I'm using the AABB collision detection method. I'm definitely a beginner with programming so I apologize if this question is very basic.
I want to have multiple enemies move toward the player to attack him, but whenever I add more than one I am having a very difficult time managing collision and handling between them all. How should I manage the simple rectangle intersect collision I am using? I tried setting the enemies to their previous position if a collision returned true, but that did lots of funky stuff.
Thanks for any help!