public void keyPressed(KeyEvent e) {
		int keyCode = e.getKeyCode();
			
		switch(keyCode) {
		case KeyEvent.VK_W : 
			bu = true;
			break;
		case KeyEvent.VK_S : 
			bd = true;
			break;
		case KeyEvent.VK_A : 
			bl = true;
			break;
		case KeyEvent.VK_D : 
			br = true;
			break;
		default : ;
		}
		dir = location();
	}