public static void gameover()
	{
		timer.stop();
		BufferedImage gameover = new BufferedImage(width, height, BufferedImage.TYPE_4BYTE_ABGR);
		try{gameover = ImageIO.read(new File("GAME OVER.png"));}
		catch (IOException e){e.printStackTrace();}
		pane = (Graphics2D) buffer.getDrawGraphics();
		pane.drawImage(gameover, null, 0, 0);
		pane.dispose();
	}