之前*错误(预期说明符限定符列表错误),我有以下代码:预计*在Xcode
@interface Building : GameObject
{
CGPoint mapSquarePos;
CGPoint SquareSize;
bool isBuilding;
UIImage *BuildingImage;
Person *garnisonedPerson; //Error is here
}
我已导入Person.h文件。这是什么原因错误
不Person.h进口Building.h? –