Reset target settings in UI when switching target types.
[enjoyable.git] / JSActionAnalog.h
index 5087582..cc13d1e 100644 (file)
@@ -7,13 +7,14 @@
 //
 
 #import <Cocoa/Cocoa.h>
-@class JSAction;
 
-@interface JSActionAnalog : JSAction {
-       double offset, scale;
-}
+#import "JSAction.h"
 
-@property(readwrite) double offset;
-@property(readwrite) double scale;
+@interface JSActionAnalog : JSAction
+
+@property (assign) float offset;
+@property (assign) float scale;
+
+- (id)initWithIndex:(int)newIndex offset:(float)offset scale:(float)scale;
 
 @end