X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSActionAnalog.h;h=cc13d1e05029f80074aaeb68114c7c33132ececd;hp=f1276d509df3ddfc685c4df75b5b193714770b92;hb=3090f311c3406d9c157630bc9744b9b14aa42311;hpb=61f8cdec21ab083b29c22aa11fda54d6005666ca diff --git a/JSActionAnalog.h b/JSActionAnalog.h index f1276d5..cc13d1e 100644 --- a/JSActionAnalog.h +++ b/JSActionAnalog.h @@ -7,16 +7,14 @@ // #import -@class JSAction; -@interface JSActionAnalog : JSAction { - double offset, scale; -} +#import "JSAction.h" -@property(readwrite) double offset; -@property(readwrite) double scale; +@interface JSActionAnalog : JSAction -- (id) initWithIndex: (int)newIndex; --(double) getRealValue: (int) value; +@property (assign) float offset; +@property (assign) float scale; + +- (id)initWithIndex:(int)newIndex offset:(float)offset scale:(float)scale; @end