public void init(){
		setSize(864, 500);
		Thread thread = new Thread(this);
		thread.start();
		offscreen = createImage(854, 500);
		d = offscreen.getGraphics();
		addKeyListener(this);
		menuState = true;
		choose = true;
		gameTimer = 1;
		waitTimer = 0;
		
	}