#define RANDOM(start,end) ((int)(CCRANDOM_0_1()*(end - start + 1) + start))
Cocos2dx学习: 取一定范围内的随机数
原创
©著作权归作者所有:来自51CTO博客作者凹凸慢没名字的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章