public void keyTyped(KeyEvent event) {
		char c = event.getKeyChar();
		if (c == 'e' || c == 'E') {
			view.dispose();
			System.exit(0);
		} else if (c == 'p' || c == 'P') {
			model.setPause(! model.getPause());
		} else if (c == 'f' || c == 'F') {
			view.setFlipVertical(! view.getFlipVertical());
		} else if(c =='r' || c =='R'){
			System.out.println("RESET");
			model.resetLevel();
		}
	}