public void keyReleased(KeyEvent e){
		int keyCode = e.getKeyCode();
		switch(id){
			default: System.out.println("Please enter valid id fpr paddle"); break;
			case 1:
				if(keyCode == e.VK_W){
					setYDirection(0);
				}
				if(keyCode == e.VK_S){
					setYDirection(0);
				}
			break;
			case 2:
				if(keyCode == e.VK_UP){	
					setYDirection(0);
				}
				if(keyCode == e.VK_DOWN){
					setYDirection(0);
				}
			break;
		}

	}