More better names.
[enjoyable.git] / Classes / NJOutput.h
1 //
2 // NJOutput.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 NJInputController;
10
11 @interface NJOutput : NSObject
12
13 @property (nonatomic, assign) float magnitude;
14 @property (nonatomic, assign) BOOL running;
15 @property (nonatomic, readonly) BOOL isContinuous;
16
17 - (void)trigger;
18 - (void)untrigger;
19 - (BOOL)update:(NJInputController *)ic;
20
21 - (NSDictionary *)serialize;
22 + (NJOutput *)outputWithSerialization:(NSDictionary *)serialization;
23 + (NSString *)serializationCode;
24
25 - (void)postLoadProcess:(id <NSFastEnumeration>)allMappings;
26
27 @end