|
i think you forgot a "}"
Here
.....
for (int i = 0; i > 10; i++) {
// Update the General and the BarrierMap
General.update();
Barrier[i].update();
// Reset the input delay
inputDelay = 0;
}
}
private void paint(Graphics g) {
// Draw the InfoBar and numLives
g.drawImage(InfoBar, 0, 0, Graphics
...
Just add another "}" after the for loop and everything should be fine.
|