I'm working on maaking a guitar hero clone for my final project in my Computer Science class, and I've run into an issue. I've created a class called note, with a display method and a move method.
class Note { int y; int x; boolean touching; int w; int h;
Note(int xVal, int yVal) { x = xVal; y = yVal; touching = false; w = 20; h = 20; }
When I press enter, the rectangle I created moves down the screen, but the Note object, n, does not. Can someone help me see what I'm missing? I'd really appreciate it.