2324252627282930
} @Override public void load() { hill = new VolcanoHill(100); p = new Player(175, 400, 50, 100); hill.setPlayerPosition(200); }
2627282930313233343536
Scene scene; @Override public void load() { scene = new Scene(); p = new Player(10, 0, 50, 100){ @Override public void render(Graphics2D g){ g.setColor(Color.white); g.fillRect(x, y, width, height); g.drawString("<-- Player", x + 50, y + 20);