Formal protocol for the interface shared between Joysticks and JSActions, use new...
[enjoyable.git] / JSAction.m
index 6903c56..1cdbeb2 100644 (file)
@@ -9,7 +9,7 @@
 
 @implementation JSAction
 
-- (id)initWithName:(NSString *)newName base:(JSAction *)newBase {
+- (id)initWithName:(NSString *)newName base:(id <NJActionPathElement>)newBase {
     if ((self = [super init])) {
         self.name = newName;
         self.base = newBase;