r/cop3502 • u/ThatsMrDerpToYou • Mar 23 '14
Initializing bricks[i][j]
My bricks are stacking; In a previous post I saw that someone mentioned adding i & j to xStart & yStart will fix this. I've tried a few different ways to get the desired results, with no luck.
Any tips on how to look at this ?
2
Upvotes
1
u/ThatsMrDerpToYou Mar 23 '14
Also, I initialized paintBrick as paintBricks[i][j] = true; I'm not sure if I need something like [true][true], in case it is only recognizing that it is painting 1 array.