5f61191b0b5f15a29361c00c6fc302e2cf888c0e
[enjoyable.git] / JSAction.h
1 //
2 // JSAction.h
3 // Enjoy
4 //
5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
7 //
8
9 @interface JSAction : NSObject
10
11 @property (assign) void *cookie;
12 @property (copy) NSArray *children;
13 @property (weak) id base;
14 @property (copy) NSString *name;
15 @property (assign) BOOL active;
16 @property (readonly) float magnitude;
17 @property (readonly) NSString *uid;
18
19 - (id)initWithName:(NSString *)newName base:(JSAction *)newBase;
20
21 - (void)notifyEvent:(IOHIDValueRef)value;
22 - (id)findSubActionForValue:(IOHIDValueRef)value;
23
24 @end