Source of TriangleInterface.java


  1: //TriangleInterface.java
  2: 
  3: /**
  4:  * Interface for a triangle to be drawn on the screen. 
  5:  */
  6: public interface TriangleInterface
  7:     extends ShapeInterface
  8: {
  9:     /**
 10:      * Sets the triangle's base. 
 11:      */
 12:     public void set(int newBase);
 13: }