Patrick's Lucky Dip - pdhArray2d Package |
||
The ProblemI needed a class to hold a grid for a map of tiles. I already had an array class, so I created an array of arrays to make a 2 dimensional grid. I added some code to ensure that all the arrays are of equal size. The SolutionI only had one class but I put it into it's own package. Here it is: Patrick Haston |
||