obj-c的一个小问题
我是个新手,问个问题,谢谢大家回答
@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