So I have this grid laid out with each tile represented by a different, unique sprite.
I have an XML file that I parse into a 2D array (X,Y) which represents the ~names~ of the adjacent tiles.
Tile1 is adjacent to Tile 2 and Tile 3
Tile 2 is adjacent to Tile 1, Tile 4, and Tile 5
Tile 1 is
(1,0) = Tile 2
(1,1) = Tile 3
Tile 2 is
(2,0) = Tile 1
(2,1) = Tile 4
(2,2) = Tile 5
The thing is that the Tiles are only represented in the array by a STRING of its name, not object/sprite reference. How can I utilize this in events? I thought I could do something like MyArray.At(1,0).X to evaluate the x position of Tile 2 but realized that Construct 2 can't think that far ahead.