00001 // 00002 // LLInterceptAngle.h 00003 // MacTrek 00004 // 00005 // Created by Aqua on 27/04/2006. 00006 // Copyright 2006 Luky Soft. All rights reserved. 00007 // 00008 00009 #import <Cocoa/Cocoa.h> 00010 #import "LLTarget.h" 00011 00012 // return a large angle if none found 00013 #define INTERCEPT_NOT_POSSIBLE 1000 00014 00015 @interface LLInterceptAngle : NSObject { 00016 00017 } 00018 00019 - (int) angleForTarget:(LLTarget*) target fromSource:(LLTarget*)source projectileSpeed:(int)speed; 00020 00021 @end