So I created a draft tile-based environment for a shooter game I'm making.
Basically, I already have the entire environment so that it is destructible.
Okay so this is a screenshot.
<img src="http://imageshack.us/scaled/thumb/208/vwab.png" border="0" />
What I want is when all the "wood blocks" on a particular tree are destroyed,
I want all the leaves on that tree to be destroyed.
Now I could have separate image for each set of wood and leaves, and make an event like
if Wood1.Count = 0 {
destroy all Leaves1
}
But I'm sure their is an easier way than that, so I don't have to have 10 plus different versions of the same sprite.