There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
Hi Miljan, welcome to CodeRanch!
- height of every row is BRICK_HEIGHT just adding up, I have that in my for loop. I have tried in several different ways to make corrections in the for loop but its not working. Am I supposed to calculate where the bottom row will begin at (by that I mean its coordinates), and then for every next row just to add BRICK_WIDTH/2 for x axis. How to do that in for loop ?First calculate the height of the current layer, and then add the correct amount of pixels to the x coordinate.
Do you mean by that to calculate where are x and y coordinates for bottom row and then for every next every row to add BRICK_WIDTH/2 for x axis and BRICK_HEGHT for y axis ?Ah well, it's calculation time, then.
There are three kinds of actuaries: those who can count, and those who can't.
Miljan Puletic wrote:If you maybe know how to do entire code, just post it here
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
There are three kinds of actuaries: those who can count, and those who can't.