public Rectangle(float xcoord, float ycoord, float width, float height) { x = xcoord; y = ycoord; w = width; h = height; }