5 // Created by Sam McCall on 5/05/09.
8 @implementation SubAction
10 @synthesize base, name, index, active;
12 -(id) initWithIndex:(int)newIndex name: (NSString*)newName base: (JSAction*)newBase {
13 if(self = [super init]) {
14 [self setName: newName];
15 [self setBase: newBase];
16 [self setIndex: newIndex];
21 -(NSString*) stringify {
22 return [[NSString alloc] initWithFormat: @"%@~%d", [base stringify], index];