Assigning values to arrays
I'm trying to have a 50x50 array to store a map in, and each number represents a tile. Origionally I had it as a 1D array, and it worked ok...but the AI would have sucked very very bad. Anyway, with my 1D array I did it like this:
My question is how do you do this with 2D arrays?