e1d1ff7b3d15c4d6896d4c3a039b0a631119f008
[enjoyable.git] / Target.h
1 //
2 // Target.h
3 // Enjoy
4 //
5 // Created by Sam McCall on 5/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
7 //
8
9 @class JoystickController;
10
11 @interface Target : NSObject
12
13 @property (assign) float magnitude;
14 @property (assign) BOOL running;
15 @property (readonly) BOOL isContinuous;
16
17 - (void)trigger;
18 - (void)untrigger;
19 - (BOOL)update:(JoystickController *)jc;
20 - (NSString*) stringify;
21 + (Target *)unstringify:(NSString*)str withConfigList:(NSArray*)configs;
22
23 @end