Search:

Type: Posts; User: helloworld922

Search: Search took 0.19 seconds.

  1. Replies
    8
    Views
    6,328

    Re: Need a loop for rows and columns

    just multiply j by BRICK_WIDTH and i by BRICK_HEIGHT
  2. Replies
    8
    Views
    6,328

    Re: Need a loop for rows and columns

    for loops are perfectly suited for this problem.


    for (int i = 0; i < 2; i++)
    {
    for (int j = 0; j < 11; j++)
    {
    brick = new Brick(1,"red");
    ...
Results 1 to 2 of 2