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 extends ShapeInterface
  7: {
  8:         /**
  9:          Sets the triangle's base.
 10:         */
 11:     public void set(int newBase);
 12: }
 13: