之前*錯誤(預期說明符限定符列表錯誤),我有以下代碼:預計*在Xcode
@interface Building : GameObject
{
CGPoint mapSquarePos;
CGPoint SquareSize;
bool isBuilding;
UIImage *BuildingImage;
Person *garnisonedPerson; //Error is here
}
我已導入Person.h文件。這是什麼原因錯誤
不Person.h進口Building.h? –