@Override
	public void fill(Graphics2D g){
		velocity*=decay;
		Point2D prev = new Point2D.Double(phys.getX(),phys.getY());
		boolean moveWithPlayer=false;
		if(Display.player.me(0,1).intersects(phys)&&collide){
			moveWithPlayer=true;
		}
		phys=new Rectangle2D.Double(phys.getX(),phys.getY()+velocity,phys.getWidth(),phys.getHeight());
		velocity-=(phys.getY()-old.getY())*(1-bounciness);
		boolean playersafe = !(Display.player.hitsObstacle(Display.player.me()));
		if(moveWithPlayer){
			Display.player.loc.setLocation(Display.player.loc.getX(),Display.player.loc.getY()+(phys.getY()-prev.getY()));
		}
		super.fill(g);
	}