X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.h;h=dc00a8d8749eca6f84c6c3f30ebc5a50b21936f1;hp=0e2584726f52cffb7d0ddaa00f779c975d486f60;hb=0238d141f06420e1a73eccd14ca73a7e29ad2a69;hpb=aaab00fd866af505e9a5e454f1aeb3e298fd38e3 diff --git a/JSAction.h b/JSAction.h index 0e25847..dc00a8d 100644 --- a/JSAction.h +++ b/JSAction.h @@ -6,7 +6,9 @@ // Copyright 2009 University of Otago. All rights reserved. // -@interface JSAction : NSObject +#import "NJActionPathElement.h" + +@interface JSAction : NSObject @property (nonatomic, assign) IOHIDElementCookie cookie; @property (nonatomic, copy) NSArray *children; @@ -16,7 +18,7 @@ @property (nonatomic, readonly) float magnitude; @property (readonly) NSString *uid; -- (id)initWithName:(NSString *)newName base:(JSAction *)newBase; +- (id)initWithName:(NSString *)newName base:(id )newBase; - (void)notifyEvent:(IOHIDValueRef)value; - (id)findSubActionForValue:(IOHIDValueRef)value;