public void paint(Graphics2D g, int gwidth, int gheight, int viewPointX, int viewPointY){
		if(x>gwidth+viewPointX){return;}
		if(x+width<viewPointX){return;}
		if(y>gheight+viewPointY){return;}
		if(y+height<viewPointY){return;}
		
		g.drawImage(image, null, x-viewPointX, y-viewPointY);
	}