X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.m;h=1cdbeb23e4f0e5b32fe4052cbd25d3a9a3bb1353;hp=0cb98554bf020ba58c622924533e9da9ebadf23e;hb=f563321aec9e13b8479ab3b890a9179f095a8b17;hpb=25dd74a4a34f4ba7ec797360bd8f92cbd7bc758e diff --git a/JSAction.m b/JSAction.m index 0cb9855..1cdbeb2 100644 --- a/JSAction.m +++ b/JSAction.m @@ -9,14 +9,7 @@ @implementation JSAction -@synthesize cookie; -@synthesize index; -@synthesize children; -@synthesize base; -@synthesize name; -@synthesize active; - -- (id)initWithName:(NSString *)newName base:(JSAction *)newBase { +- (id)initWithName:(NSString *)newName base:(id )newBase { if ((self = [super init])) { self.name = newName; self.base = newBase; @@ -29,7 +22,7 @@ } - (NSString *)uid { - return [NSString stringWithFormat:@"%@~%@", [self.base uid], self.name]; + return [NSString stringWithFormat:@"%@~%@", [_base uid], _name]; } - (void)notifyEvent:(IOHIDValueRef)value {