X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;f=SubAction.m;h=45ad4ea63731379e5371c62d2d7ab6f1fb88ec70;hb=250a974e2d9d2d2dd8dfb8a99b07a77c7e2f637a;hp=07011ca90427f6ac09a877ee728ba42611c2a2ba;hpb=e68c19b5923618b763543c74bf8dd6f85d4d323e;p=enjoyable.git diff --git a/SubAction.m b/SubAction.m index 07011ca..45ad4ea 100644 --- a/SubAction.m +++ b/SubAction.m @@ -9,11 +9,7 @@ #import "SubAction.h" -@implementation SubAction { - BOOL active; -} - -@synthesize active; +@implementation SubAction - (id)initWithIndex:(int)newIndex name:(NSString *)newName base:(JSAction *)newBase { if ((self = [super init])) { @@ -25,7 +21,7 @@ } -(NSString*) stringify { - return [[NSString alloc] initWithFormat: @"%@~%d", [base stringify], self.index]; + return [[NSString alloc] initWithFormat: @"%@~%d", [self.base stringify], self.index]; } @end