X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.h;h=5f61191b0b5f15a29361c00c6fc302e2cf888c0e;hp=b92c7d6301017b0ecd88b2335b388db8e8d3a132;hb=44fe6f649589488b367eee7ffff240cecf8669ad;hpb=aac34aedcd7163850a4f12a5553ae109ff4b92f1 diff --git a/JSAction.h b/JSAction.h index b92c7d6..5f61191 100644 --- a/JSAction.h +++ b/JSAction.h @@ -6,21 +6,19 @@ // Copyright 2009 University of Otago. All rights reserved. // -#import -#import - @interface JSAction : NSObject @property (assign) void *cookie; -@property (assign) int index; @property (copy) NSArray *children; @property (weak) id base; @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