X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.h;h=fc0971b3ec778c8f34b575ec48f84d38f7c008b8;hp=b92c7d6301017b0ecd88b2335b388db8e8d3a132;hb=dd1f684886c2809133356bb9b335a35293e8849e;hpb=aac34aedcd7163850a4f12a5553ae109ff4b92f1 diff --git a/JSAction.h b/JSAction.h index b92c7d6..fc0971b 100644 --- a/JSAction.h +++ b/JSAction.h @@ -6,9 +6,6 @@ // Copyright 2009 University of Otago. All rights reserved. // -#import -#import - @interface JSAction : NSObject @property (assign) void *cookie; @@ -18,9 +15,11 @@ @property (copy) NSString *name; @property (assign) BOOL active; @property (readonly) float magnitude; +@property (readonly) NSString *uid; + +- (id)initWithName:(NSString *)newName base:(JSAction *)newBase; - (void)notifyEvent:(IOHIDValueRef)value; -- (NSString *)stringify; - (id)findSubActionForValue:(IOHIDValueRef)value; @end