23 lines
600 B
Java
23 lines
600 B
Java
package ovh.gasser.newshapes;
|
|
|
|
import ovh.gasser.newshapes.shapes.SCircle;
|
|
import ovh.gasser.newshapes.shapes.SCollection;
|
|
import ovh.gasser.newshapes.shapes.SPolygon;
|
|
import ovh.gasser.newshapes.shapes.SRectangle;
|
|
import ovh.gasser.newshapes.shapes.SText;
|
|
import ovh.gasser.newshapes.shapes.STriangle;
|
|
|
|
public interface ShapeVisitor {
|
|
void visitRectangle(SRectangle sRectangle);
|
|
|
|
void visitCollection(SCollection collection);
|
|
|
|
void visitCircle(SCircle sCircle);
|
|
|
|
void visitTriangle(STriangle sTriangle);
|
|
|
|
void visitText(SText sText);
|
|
|
|
void visitPolygon(SPolygon sPolygon);
|
|
}
|