X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;ds=sidebyside;f=SubAction.h;h=51a85098a4da667099669faba5c77fab6dc83194;hb=20ccd38576bb48caf8e4129a8c86fe04819d83bc;hp=d09fa3a472d4ac64139fd53f1eea0980e4430f0d;hpb=5a79f9f05829ca1aecc70aeadb8c980ec4f3556d;p=enjoyable.git 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