That was so helpful honestly made a lot of sense however i can only get it to work until it hits the end of the arraylist length this is my code:
private void drawRow() {
Integer...
Type: Posts; User: samjoyboy
That was so helpful honestly made a lot of sense however i can only get it to work until it hits the end of the arraylist length this is my code:
private void drawRow() {
Integer...
solved...
private void drawRow() {
Integer row1 = 0;
while (row1 < numRows) {
for (Integer row = 0; row <= rowLength; row++) {
makeBrick();
...
I have to make the bricks i print out from the drawRow method multi coloured by calling the method and using this to go through the colors per brick.
import java.util.ArrayList;
/**
* Write a...
1. rowLength is how many bricks are in each row - this is declared when I create a new brickwall in BlueJ. The make brick creates a brick then the startX moves position of the next brick after the...
On my current assignment I have to create a brick wall of multi-coloured tiles in java. All using blueJ and as you can see below my code on the "drawRow" method won't work, it just draws a single row...