I have looked through many discussions to try and make my enemies in my game shoot but without no luck. The code I have now doesnt make my enemies shoot but when they get close to the player, it fires automatically for some reason.


1 | // returns true if the image of any actor of the given class intersects my center |