00001 // 00002 // LLVector.h 00003 // MacTrek 00004 // 00005 // Created by Aqua on 27/04/2006. 00006 // Copyright 2006 __MyCompanyName__. All rights reserved. 00007 // 00008 00009 #import <Cocoa/Cocoa.h> 00010 00011 @interface LLVector : NSObject { 00012 NSPoint origin; 00013 int angle; 00014 int size; 00015 } 00016 00017 -(LLVector*)substract:(LLVector*)other; 00018 -(LLVector*)add:(LLVector*)other; 00019 00020 -(NSPoint) origin; 00021 -(int) angle; 00022 -(int) size; 00023 -(void) setOrigin:(NSPoint) pos; 00024 -(void) setAngle: (int) course; 00025 -(void) setSize: (int) newSize; 00026 00027 @end