Indices are for display niceness only, so index them from 1 rather than keep offsetti...
[enjoyable.git] / SubAction.m
diff --git a/SubAction.m b/SubAction.m
deleted file mode 100644 (file)
index 45ad4ea..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-//  SubAction.m
-//  Enjoy
-//
-//  Created by Sam McCall on 5/05/09.
-//
-
-// TODO(jfw): This class is useless and can just be replaced w/ JSAction probably.
-
-#import "SubAction.h"
-
-@implementation SubAction
-
-- (id)initWithIndex:(int)newIndex name:(NSString *)newName base:(JSAction *)newBase {
-       if ((self = [super init])) {
-        self.name = newName;
-        self.base = newBase;
-        self.index = newIndex;
-       }
-       return self;
-}
-
--(NSString*) stringify {
-       return [[NSString alloc] initWithFormat: @"%@~%d", [self.base stringify], self.index];
-}
-
-@end