Source of TriangleInterface.java


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