title: Unknown type name
body: <p>My .h file:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  #import "cocos2d.h"
  #import "GameData.h"
  #import "PROBattleScene.h"
  
  @interface PROBattleAI : NSObject {
      BattleType type;
      PROBattleScene *scene;
  }
  
  -(id)initWithType:(BattleType)_type andBattleInformation:(NSMutableDictionary*)_information andScene:(PROBattleScene*)_scene;
  -(void)dealloc;
  @end
  </code></pre>
  
  <p>But on the line <code>PROBattleScene *scene;</code> I get the unknown type name error from Xcode.</p>
  
  <p>I tried the answer here: <a href="https://stackoverflow.com/questions/7897268/xcode-unknown-type-name">xcode unknown type name</a> but I am already doing that (and doesn't work).</p>
  
  <p>Why is that happening? I am already importing my <code>PROBattleScene.h</code> file, why isn't it being recognized?</p>
  
  <p><strong>EDIT</strong>: And the contents of <code>PROBattleScene.h</code> as requested:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  #import "cocos2d.h"
  #import "GameData.h"
  #import "SimpleAudioEngine.h"
  
  #import "PROBattleBackground.h"
  #import "PROBattleAI.h"
  
  @interface PROBattleScene : CCLayer {
      NSMutableDictionary *battleInformation;
      NSMutableArray *localPlayerPartyData;
  
      PROBattleBackground *background;
  
      CCNode *base;
  
      PROBattleAI *enemyAI;
  }
  +(CCScene*)scene;
  -(id)init;
  -(void)loadBattleInformation;
  -(void)loadBGM;
  -(void)loadBackground;
  -(void)loadBase;
  -(void)loadEnemyAI;
  -(void)beginBattle;
  
  @end
  </code></pre>