public void paint(Graphics g)
	 {
      super.paint(g);

        //Draw the individual elements
	    for (int i = 0; i < playerList.size(); i++){
		    g.drawImage(playerList.get(i).getImage(), playerList.get(i).getX(), playerList.get(i).getY(), this);
	    }
	    for (int i = 0; i < enemyList.size(); i++){
		    g.drawImage(enemyList.get(i).getImage(), enemyList.get(i).getX(), enemyList.get(i).getY(), this);
	    }
	    for (int i = 0; i < blockList.size(); i++){
		    g.drawImage(blockList.get(i).getImage(), blockList.get(i).getX(), blockList.get(i).getY(), this);
	    }
	    for (int i = 0; i < wallList.size(); i++){
		    g.drawImage(wallList.get(i).getImage(), wallList.get(i).getX(), wallList.get(i).getY(), this);
	    }

		  Toolkit.getDefaultToolkit().sync();
        g.dispose();
    }