Search:

Type: Posts; User: jps

Search: Search took 0.12 seconds.

  1. Replies
    33
    Views
    3,645

    Re: How to remove a brick (Java)

    Your method does not really store a brick, it just draws a filled rectangle.

    Like Norm said in post #29, you should have a brick class (and a ball class).

    The brick class constructor would be...
  2. Replies
    33
    Views
    3,645

    Re: How to remove a brick (Java)

    Only using one brick, (for now) is not a good reason to continue down a rocky road.

    Correct. So even if the brick was gone rather than 'invisible-on-screen', your method will still signal that you...
  3. Replies
    33
    Views
    3,645

    Re: How to remove a brick (Java)

    In 3 different methods you have the same line (except once the variable name is different:This tells me you should have a higher level scope for just one variable and use it in all of the methods.
    ...
Results 1 to 3 of 3