/GraphDraw_Mixed/GDNode.m

http://github.com/jsyedidia/nugraphdraw · Objective C · 23 lines · 13 code · 5 blank · 5 comment · 0 complexity · c6b4bb1844306b0fcbb99966c77766d6 MD5 · raw file

  1. // Created by Jonathan Yedidia on 5/31/08.
  2. // Copyright 2008. All rights reserved.
  3. // Objective-C code based on Aaron Hillegass'
  4. // "GraphLaughs" PyObjC application, available online at
  5. // http://weblog.bignerdranch.com/pythonex/GraphLaughs.tgz
  6. #import "GDNode.h"
  7. @implementation GDNode
  8. - (id)initWithPoint:(NSPoint)aPoint
  9. {
  10. [super init];
  11. point = aPoint;
  12. return self;
  13. }
  14. - (NSPoint)point
  15. {
  16. return point;
  17. }
  18. @end