X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.h;h=dc00a8d8749eca6f84c6c3f30ebc5a50b21936f1;hp=0e2584726f52cffb7d0ddaa00f779c975d486f60;hb=f563321aec9e13b8479ab3b890a9179f095a8b17;hpb=19f40be5b645e44ffb55bdce0b6cc5c5615f68e7 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;