I have an enemy type with 73 lines of code and they each have one detector to determine how to move properly in a tile by tile movement engine which forces the actors to walk back in line with the invisible tile grid if they aren't lined up with it properly because of wind blowing them pixel by pixel or what have you. I can't seem to find a way to connect the detector to the enemy without using for each loops, which drags the FPS of my game down to below 10 when there are more than 100 on screen at once and I for each through all the enemies. Is it possible to pull this system off without a for each loop?