I'm getting this error,
Unknown type name ArrowWrapper
from within BoxSprite.h
#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "BoxSum.h"
#import "ArrowWrapper.h"
@interface BoxSprite : CCSprite {
}
@property ArrowWrapper* arrowItem;
@end
Also, ArrowWrapper.h
contains this.
#import "cocos2d.h"
#import "BoxSprite.h"
@interface ArrowWrapper : CCMenuItem {
}
@property BoxSprite* box;
@end
The error used to be in ArrowWrapper saying it couldnt find BoxSprite until I did a clean, and now it's in BoxSprite saying it can't find ArrowWrapper.
I can't figure out what I'm missing.
Thanks in advance for any help.