We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to create a 2D grid of squares that have about 6 different variables associated with each square. I can't figure out the best way to do this. I tried using XML to store all the position data and other data but had trouble with reading and writing the different attributes. What "technique" should I be using for the desired result?
Answers
it could help to see your code for us to help
3D array
but you could use a 3D array
usage is the same as with 2D - see tutorial
when you use oop / classes
when you use oop / classes
just say
and in the class
store your 6 different variables in an 1D-array:
possibleValues
Chrisir ;-)