Formal protocol for the interface shared between Joysticks and JSActions, use new...
[enjoyable.git] / NJActionPathElement.h
diff --git a/NJActionPathElement.h b/NJActionPathElement.h
new file mode 100644 (file)
index 0000000..f5eb0ca
--- /dev/null
@@ -0,0 +1,9 @@
+#import <Foundation/Foundation.h>
+
+@protocol NJActionPathElement <NSObject>
+
+- (NSArray *)children;
+- (id <NJActionPathElement>) base;
+- (NSString *)name;
+
+@end