public int getWidth(){ return width;}
public void translate(int dx, int dy){ int newx = x + dx; x = newx; int newy = y + dy; y = newy;}