I have bushes that spawn up to 3 fruit each. Each position is represented by a different instance variable. When it is 0 there is no fruit, at 1 the bush spawns a flower, and at 2 that flower is destroyed and the bush spawns a fruit.
The problem I am running in to is when the fruit is picked and I set the variable to 0, it is setting that variable to 0 on all of the bushes and not just the one that spawned the fruit.
So the question is, "How can I change the variable on the bush that spawned the fruit that was picked without changing it on any of the others?"