Hi!
I have a family with many objects with four family instance variables. The first one (string) is the type of this object (for example "Enemy1", "Enemy2", etc.) and the other ones are values (for example "Health","Attack", etc.).
What I want is to sum all these number instance variables for each type of object (for example, health of all Enemy1s toghether, and then attack of all Enemy2s toghether, etc.).