I understand that it calculates where to position the newly created heart with the current number of hearts value, but what I don't get from this quick look is; how does it knows wich one to destroy. Does the application remembers which item was the last created by itself? I wouldn't know since I never tried to destroy an item of wich there was multiple copies.
Anyway, I'm going to stick on this one next weekend, until I understand everything.
Thanks Alot