// draws all the stuff , its pretty basic public void drawPup(Graphics g) { for (Powerup i : pupList) { g.drawImage(i.getImage(), i.getX(), i.getY(), i.getWidth(), i.getHeight(), null); } }