I'm currently having issues with trying to have two actors erase each other. My problem comes from both actors being randomly generated from 2 classes, and having both specific actors be deleted.
The world is set up as a 9x9 grid where two rows of randomly generated actors, of types A, B, and C, move towards each other. Each side is split into A1, B1, and C1 (Left), and A2, B2, and C2 (Right). When A and B meet, A destroys B. When B and C meet, B destroys C. And when C and A meet, C destroys A. When A and A/B and B/C and C meet, they are supposed to destroy each other.
But no matter what I try, only one of the two gets destroyed. I've tried moving both off screen, having both erase themselves, etc. I was thinking that I could set a variable (dead) on each of them to true, and have the World check for all actors with said variable set to true and erase them each time act() is called, but I'm not sure how to do that.
Thoughts?

