public void paint(Graphics g) {

//if you are still alive it goes and does the user interface.
//if your dead, it says game over.
		if(me.getLives()>0&&!gameOver){

			g.fillRect(me.getX(), me.getY(), 20, 20);

			g.drawString("Score: "+score, width/8, height - height/5);
			g.drawString("Lives: "+me.getLives(), width - width/8, height - height/5);
			g.drawString("PowerUps until more Life: "+(10-powerUpsGotten), width/2, height - height/5);

			//g.drawString("PowerUp: "+me.getPower().getOption(), width/2, height - height/5);


			for(int i = 0; i<enemies.size(); i++){
				g.drawOval(enemies.get(i).getX(),enemies.get(i).getY(), 20, 20);
			}
			for(int i = 0; i<powerUps.size(); i++){
				g.fillOval(powerUps.get(i).getX(), powerUps.get(i).getY(), 20, 20);
			}
		}
		else{
			g.drawString("GAME OVER", width/2, height/2);
			g.drawString("Score: "+score, width/8, height - height/5);
			gameOver = true;

		}

	}