在我的游戏中,我在 GameLayer 中创建了许多需要在 Level1 中调用的方法。我不知道为什么,但是当我单击开始时,我在控制台中收到此错误,并且游戏崩溃了。
Assertion failure in -[CCTimer initWithTarget:selector:interval:]
其次是
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Signature not found for selector - does it have the following form? -(void) name: (ccTime) dt'
我在这里上传了 GameLayer.h 和 .m:http ://www.4shared.com/file/O_1utrRj/undefined.html
注意:Level1(我称之为方法)在 GameLayer 中。