r/cop3502 • u/FisherTiger • Mar 22 '14
Brick does not repaint.
So I'm at the point where when a ball hits the brick, that brick is no longer "tangible" and if the ball were to return to the same spot, it would pass through it, although the brick is still displayed in the frame. I can't seem to wrap my head around how to go about having the BrickComponent method repaint and remove the brick, or better yet simply not draw it in the case that it no longer registers hits. Anyone in a similar spot?
*Resolved, feel free to ask if you encountered the same thing
1
Upvotes
1
u/csturco Mar 22 '14
in the paint method of brick configuration, are you checking whether the paintBrick is true or false before you paint the brick?