does this make sense to have a type, with a 2d array for say level map data, or is this going about it the wrong way programmatically.
basically i have a number a levels for a game, all different sizes, thats easy, so i was wanting to make an object that has an array as it main focus, with methods that can be used on it to erase, randomise, draw line, squares , spray brushes with different tiles.
does that seem the way to do it or should i have a global array and have a type with funtions in it to effect that array...
still trying to get my head around how far to go with the oob concept...
cheers
basically i have a number a levels for a game, all different sizes, thats easy, so i was wanting to make an object that has an array as it main focus, with methods that can be used on it to erase, randomise, draw line, squares , spray brushes with different tiles.
does that seem the way to do it or should i have a global array and have a type with funtions in it to effect that array...
still trying to get my head around how far to go with the oob concept...
cheers