public Triangle(Color color, double worldX, double worldY, double x1,
			double y1, double x2, double y2, double x3, double y3) {
		super(color, worldX, worldY);
		this.x1 = x1;
		this.y1 = y1;
		this.x2 = x2;
		this.y2 = y2;
		this.x3 = x3;
		this.y3 = y3;
	}