/** A closed Shape with straight edges. 
 *
 *  Taken from Core Web Programming from 
 *  Prentice Hall and Sun Microsystems Press,
 *  http://www.corewebprogramming.com/.
 *  &copy; 2001 Marty Hall and Larry Brown;
 *  may be freely used or adapted.
 */

public abstract class Polygon extends StraightEdgedShape
                              implements Measurable {
  private int numSides;

  public int getNumSides() {
    return(numSides);
  }

  protected void setNumSides(int numSides) {
    this.numSides = numSides;
  }
}