我是个新手,问个问题,谢谢大家回答
@class HelloWorld 是什么意思 HelloWorld是一个定义的类
#import"cocos2d.h"@class HelloWorldLayer;#define kMaxHillKeyPoints 1000@interface Terrain : CCNode {
int _offsetX;
CGPoint _hillKeyPoints[kMaxHillKeyPoints];
CCSprite *_stripes;
}@property (retain) CCSprite * stripes;
- (void) setOffsetX:(float)newOffsetX;@end
@class HelloWorld 是什么意思 HelloWorld是一个定义的类
#import"cocos2d.h"@class HelloWorldLayer;#define kMaxHillKeyPoints 1000@interface Terrain : CCNode {
int _offsetX;
CGPoint _hillKeyPoints[kMaxHillKeyPoints];
CCSprite *_stripes;
}@property (retain) CCSprite * stripes;
- (void) setOffsetX:(float)newOffsetX;@end
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货