public Ellipse(Physics.Rect dimensions) { ellipsX = (int)dimensions.x; ellipsY = (int)dimensions.y; ellipsWidth = (int)dimensions.width; ellipsHeight = (int)dimensions.height; }
public Triangle(Physics.Rect dimensions) { triX = (int)dimensions.x; triY = (int)dimensions.y; triWidth = (int)dimensions.width; triHeight = (int)dimensions.height; }
public Rectangle(Physics.Rect dimensions) { rectX = (int)dimensions.x; rectY = (int)dimensions.y; rectWidth = (int)dimensions.width; rectHeight = (int)dimensions.height; }