@Override
	public void init() {
		setSize(800, 480);
		setFocusable(true);
		addKeyListener(this);
		Frame frame = (Frame) this.getParent().getParent();
		frame.setTitle("Bloom");
		frame.setLocation(100, 100);
		frame.setResizable(false);

		try {
			base = getDocumentBase();
		} catch (Exception e) {
		}

		setImagesAndAudio(gameMode);

		try {
			font = java.awt.Font.createFont(java.awt.Font.TRUETYPE_FONT,
					new FileInputStream(gameMode + "/font.ttf"));
			font = font.deriveFont(20.0F);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (FontFormatException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}

	}