Hi

I was wondering if it's possible to make an array with both rows and columns. Now i imagine arrays as a single row of entries, whereas i can imagine a lot of uses for an array with row and column entries.

Let's for simplicity say i want to create a 3x3 tiled map of some sort, and the middle room contains an up/down hall. Then i could loop thorugh the array, and it would find the room at (x,y)=(2,2) and place connecting walls at (x,y-1) = (2,1) and (x,y+1) = (2,3). Or how do people go about that kind of business?

Kind regards

I was wondering if it's possible to make an array with both rows and columns. Now i imagine arrays as a single row of entries, whereas i can imagine a lot of uses for an array with row and column entries.

Let's for simplicity say i want to create a 3x3 tiled map of some sort, and the middle room contains an up/down hall. Then i could loop thorugh the array, and it would find the room at (x,y)=(2,2) and place connecting walls at (x,y-1) = (2,1) and (x,y+1) = (2,3). Or how do people go about that kind of business?

Kind regards

## Comment