X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;f=Target.h;h=51470bfcd7f089f18945725f0c6cc2b7315e041b;hb=724979785b445dcba8a9861c2531ae0308bdf40a;hp=215245ffd6d4b3ceec1d53e990de6161d47cf953;hpb=530009447c5bbd360ac5023979cffc6d32a28df3;p=enjoyable.git diff --git a/Target.h b/Target.h index 215245f..51470bf 100644 --- a/Target.h +++ b/Target.h @@ -10,13 +10,16 @@ @interface Target : NSObject { BOOL running; - int inputValue; + BOOL isContinuous; + double inputValue; } @property(readwrite) BOOL running; -@property(readwrite) int inputValue; --(void) trigger; --(void) untrigger; +@property(readonly) BOOL isContinuous; +@property(readwrite) double inputValue; +-(void) trigger: (JoystickController *)jc; +-(void) untrigger: (JoystickController *)jc; +- (BOOL)update:(JoystickController *)jc; -(NSString*) stringify; +(Target*) unstringify: (NSString*) str withConfigList: (NSArray*) configs;