Skip to content

Instantly share code, notes, and snippets.

@seanh
Created April 30, 2011 18:54
Show Gist options
  • Select an option

  • Save seanh/949876 to your computer and use it in GitHub Desktop.

Select an option

Save seanh/949876 to your computer and use it in GitHub Desktop.
-(id) initWithTarget:(id)target selector:(SEL)selector
unlockedItem:(CCMenuItem *)unlockedItem
lockedItem:(CCMenuItem *)lockedItem
{
if ((self=[super initWithTarget:target selector:selector items:unlockedItem,lockedItem,nil]))
{
passcodeScene = [[PasscodeScene alloc] initWithTarget:self
selector:@selector(doToggle)];
}
return self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment