Hiya, I was wondering whats the best way of describing complex relationships between objects such the following:
var character1:Character = new Character();
character1.neighbours = new Dictionary();
character1.neighbours["1"] = new Character(); // create second character, in a dictionary on first one
character1.neighbours["1"].neighbours = new Dictionary(); // create the same type of dictionary on the second
character1.neighbours["1"].neighbours["1"] = character1; // second Character links back to character1
IE, to have nested structures where the nested elements give reference to each other? The BigDB seems to be "flat" ie, I can have nested Objects inside each other, but on the last line when I link back to character1, thats not really possible is it? IE, that cant be an actual reference to the character object we created in the first line?
Any tips or ideas??