Change KeyInputTextView from a TextView to a TextField. Simplifies the nib contents...
[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 #import <Cocoa/Cocoa.h>
10
11 @interface Target : NSObject {
12 BOOL running;
13 BOOL isContinuous;
14 double inputValue;
15 }
16
17 @property(readwrite) BOOL running;
18 @property(readonly) BOOL isContinuous;
19 @property(readwrite) double inputValue;
20 -(void) trigger: (JoystickController *)jc;
21 -(void) untrigger: (JoystickController *)jc;
22 -(void) update: (JoystickController *)jc;
23 -(NSString*) stringify;
24 +(Target*) unstringify: (NSString*) str withConfigList: (NSArray*) configs;
25
26 @end