我在下面的“学习的Cocos2D”和第4章中,我遇到了以下指令:为“类”无可见@interface声明选择“选择”
而在GameLayer init方法,加在调用initSpiders方法接下来讨论,scheduleUpdate之后:
-(id) init {
if ((self=[super init])) {
...
[self scheduleUpdate];
[self initSpiders];
}
return self;
}
我得到和ARC错误消息:“GameLayer”不可见的@interface声明选择“initSpiders”
我得到了同样的信息在线:self resetSpiderrs
我在想什么?一切都建立起来并且运行良好。
你写过的'initSpiders'和'resetSpiders'但这些方法? “下一步讨论”这一行意味着你即将写出这些方法。 –