X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=SubAction.h;h=51a85098a4da667099669faba5c77fab6dc83194;hp=d09fa3a472d4ac64139fd53f1eea0980e4430f0d;hb=e68c19b5923618b763543c74bf8dd6f85d4d323e;hpb=fad073260e61084c4962e172c58a0595261bd811 diff --git a/SubAction.h b/SubAction.h index d09fa3a..51a8509 100644 --- a/SubAction.h +++ b/SubAction.h @@ -7,20 +7,13 @@ // #import -@class JSAction; -@interface SubAction : NSObject { - JSAction *base; - NSString *name; - int index; - BOOL active; -} +#import "JSAction.h" --(id) initWithIndex:(int)newIndex name: (NSString*)newName base: (JSAction*)newBase; +@interface SubAction : JSAction -@property(readwrite, strong) JSAction* base; -@property(readwrite, copy) NSString* name; -@property(readwrite) int index; -@property(readwrite) BOOL active; +- (id)initWithIndex:(int)newIndex name:(NSString *)newName base:(JSAction *)newBase; + +@property (assign) BOOL active; @end