public void keyReleased (KeyEvent e){
		int key = e.getKeyCode();
		
		for  (int i = 0; i<objectHandler.object.size();i++){
			GameObject tempObject = objectHandler.object.get(i);
			if (tempObject.getId() == ObjectId.Player){
				if(key == KeyEvent.VK_RIGHT) tempObject.setVelocityX(0);
				if(key == KeyEvent.VK_LEFT) tempObject.setVelocityX(0);	
			}
		}
	}