Oh, whoops -- I misunderstood you the first time. Yes, I will add that line of code. Thank you for your help!
Type: Posts; User: snowguy13
Oh, whoops -- I misunderstood you the first time. Yes, I will add that line of code. Thank you for your help!
If I'm calling repaint() in the LevelPanel class, will super.repaint() suffice if placed before the repaint() call?
Exactly as I found. Thank you for your help!
Okay, this is utterly silly, but I found a solution.
The renderLevel method declaration I switched to this:
renderLevel(LevelPanel l, Graphics g)
and then I switched the paintComponent...
Heh, it's not much:
public class LevelPanel {
//... blah blah ... a lot of other code
public void paintComponent(Graphics g) {
Renderer.renderLevel(this);
}
Hello! I've been doing HTML for a while and now am returning to Java after a few months, and I can tell I've lost a few things...
Right now, I'm trying to develop a very basic layout for an RPG....