public static void keySet(int i, boolean b) {
		
		switch(i) {
			case KeyEvent.VK_W: keyState[W] = b;
				break;
			case KeyEvent.VK_S: keyState[S] = b;
				break;
			case KeyEvent.VK_A: keyState[A] = b;
				break;
			case KeyEvent.VK_D: keyState[D] = b;
				break;
			case KeyEvent.VK_SPACE: keyState[SPACE] = b;
				break;
			case KeyEvent.VK_ESCAPE: keyState[ESC] = b;
				break;
		}
		
	}