Hi everyone!
Thanks for the patience! and sorry for my english U.u
Imagine a RPG gamelike, there are Archers ( A1,A2,A3), Knights (K1,K2,K3)
A1,A2,A3 have, each one, a variable instance "Damage", "Life" with diferent values..
K1,K2,K3 have variable instance "Damage", "Life" too with diferent values..
With families can i make that A1 makes his damage to K3, or A2 to K1, with manyfew expresions?
i think, making A1 when overlapping at offset X 10 to knight2, knight2 substract from "Life" Archer1.Damage
and this for all archers and knight respectively, is the wrong method to do this. i think with families would be better. I have been read the manual but still understanding. The instance variable for familie affect to all objects that are in? hmm Sorry, maybe this is very easy but i don't see the light yet hhehe
Edit: also add there are multiple instances of each object