title: Terminating app due to uncaught exception 'NSInvalidArgumentException
body: <p>Ok here is an interesting one... I am receiving the 
  warning: <code>Characters may not respond to 'addHeroType:atX:atY:fromMobTable'</code></p>
  
  <p>although I have the functions defined properly as far as I can see so how about another pair of eyes?</p>
  
  <p>Here is the definition in <code>Characters.h</code></p>
  
  <pre><code>-(void) addHeroType:(int)newMobType atX:(int)x atY:(int)y fromMobTable:(Mobdefs*)newMobTable;
  </code></pre>
  
  <p>Here is the function in the <code>Characters.m</code></p>
  
  <pre><code>-(void) addHeroType:(int)newMobType atX:(int)x atY:(int)y fromMobTable:(Mobdefs*)newMobTable
  </code></pre>
  
  <p>and here is the call I am making in another class call heroFactory (<code>Characters.h</code> is included in heroFactory):</p>
  
  <pre><code>[Characters addHeroType:1 atX:location.x atY:location.y fromMobTable:newMobTable];
  </code></pre>
  
  <p>But this line causes the app to terminate due to uncaught exception - checking the debugger I see "NSObject Does Not Recognize Selector"</p>
  
  <p>I am convinced that the issue is the wierdness of why I am seeing a warning that the Character class may not respond to the function call as written even though it matches identically to the definition.</p>
  
  <p>Any help greatly appreciated. </p>