title: CCNode addChild from method
body: <p>I am trying to add a CCNode to my scene.</p>
  
  <p>It works using this in the scene class (Level.m) itself:</p>
  
  <pre><code>- (void)didLoadFromCCB {
      CCLOG(@"didLoadFromCCB");
      self.userInteractionEnabled = TRUE;
  
       CCNode *node = [CCBReader load:@"NodeClassName"];
  
       node.position = ccp(10 , 54);
  
       [self addChild:node];
  }
  </code></pre>
  
  <p>now I am trying to do the same thing but now by calling a method of another class (Cursor.m) which looks like this:  </p>
  
  <pre><code>-(void) place: (int) yPos{
  
  
      CCNode * node = [CCBReader load:@"NodeClassName"];
  
      node.position = ccp(10 , yPos);
  
      [self addChild:node];
  
  
      NSLog(@"placed");
  
  }
  </code></pre>
  
  <p>Level.m:</p>
  
  <pre><code>- (void)didLoadFromCCB {
      CCLOG(@"didLoadFromCCB");
      self.userInteractionEnabled = TRUE;
  
      Cursor *co = [[Cursor alloc] init];
      [co place: 54];
  }
  </code></pre>
  
  <p>why is this not working?</p>