/*
 * @(#)IShapeVisitor.java	1.0 11-Apr-07
 *
 * IIT Bombay, 
 * Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.
 */
package interfaces;

import classes.shapes.*;

/**
 * Interface to visit the shape objects
 *
 * @author  Prathab
 * @version 1.0, 05-Apr-07
 */
public interface IShapeVisitor {
	
	/**
	 * Visits the <tt>RectangleShape</tt> object to perfom the operation
	 * @param rectangleShape <tt>RectangleShape</tt> object to be visited
	 */
	void visit(RectangleShape rectangleShape);
	
	/**
	 * Visits the <tt>CircleShape</tt> object to perfom the operation
	 * @param circleShape <tt>CircleShape</tt> object to be visited
	 */
	void visit(CircleShape circleShape);
	
	/**
	 * Visits the <tt>TriangleShape</tt> object to perfom the operation
	 * @param triangleShape <tt>TriangleShape</tt> object to be visited
	 */
	void visit(TriangleShape triangleShape);
}
