@SuppressWarnings("static-access")
	@Override
	public void paint(Graphics g) {
		if (!lost) {
			g.drawImage(mainBg, 0, 0, this);

			g.setFont(font);
			g.setColor(Color.BLUE);
			g.drawString("Score: " + Stats.getTotalPoints(), 5, 20);
			g.drawString("Lives: " + Stats.getLives(), 5, 40);
			g.drawString("Level: " + Stats.level, 5, 60);

			for (Item i : items) {
				if (i.centerY >= 400) {
					g.drawImage(spash, i.centerX, i.centerY, this);
				} else if (i.getVid().equals(Type.Item1)) {
					g.drawImage(item1, i.centerX, i.centerY, this);
				}

				else if (i.getVid().equals(Type.Item2)) {
					g.drawImage(item2, i.centerX, i.centerY, this);
				}

				else if (i.getVid().equals(Type.Item3)) {
					g.drawImage(item3, i.centerX, i.centerY, this);
				}

				else if (i.getVid().equals(Type.Item4)) {
					g.drawImage(item4, i.centerX, i.centerY, this);
				}

				else if (i.getVid().equals(Type.Item5)) {
					g.drawImage(item5, i.centerX, i.centerY, this);
				}
			}

			g.drawImage(character, korpa.getCenterX(), korpa.getCenterY(), this);
		} else {
			g.setFont(font.deriveFont(50.0F));
			g.drawImage(endBg, 0, 0, this);
			g.setColor(Color.RED);
			g.drawString("GAME OVER", 230, 220);

			g.setFont(font.deriveFont(23.0F));
			g.drawString("Your Score is " + Stats.getTotalPoints(), 230, 260);
			audio.stop();
		}
	}