home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / AlexNeXTSTEPSource / Source / Chapter3_OOD / ShapeArea / Rectangle.h < prev    next >
Encoding:
Text File  |  1993-02-18  |  165 b   |  15 lines

  1. #import "AbstractShape.h"
  2.  
  3. @interface Rectangle:AbstractShape
  4. {
  5.     float height;
  6.     float width;
  7. }
  8.  
  9. -initHeight:(float)h width:(float)w;
  10. -(float)calcArea;
  11. -free;
  12.  
  13. @end
  14.  
  15.