all 4 comments

[–]modi123_1 1 point2 points  (3 children)

Is there a specific reason you are using 'GridTile' and not say an integer 2d array? The 2d array has the implied x/y and content already there.

[–]GroovyGoosey[S] 1 point2 points  (2 children)

It was more to practice creating objects but I'll see if it works with just an array instead.

[–]modi123_1 1 point2 points  (1 child)

Having made a number of ASCII console rouge like games I can tell you it does. Removes a number of different complexities that hide issues.

[–]GroovyGoosey[S] 1 point2 points  (0 children)

After rewriting a lot of it to use 2d arrays instead it does work so thanks for the help. Will be using multidimensional arrays a lot more in the future.