In my game I have multiples of one enemy type, but when one is destroyed all enemies of that type is destroyed. I know that is possible but can not think of the easiest way to do so.
https://flowlab.io/game/view/1582540 If you would like to take a peek (Its a sloppy mess beware)