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