hello_vzjw

2016年2月29日

c++单例 通过cocos2dx重现c++单例—— c++语法复习

摘要: 我这里通过实现一个类似iOS的HUD的类,来例子说明用c++怎么创建一个单例,直接上代码头文件:#ifndef HintTextHUD_hpp#define HintTextHUD_hpp#include #include "ui/CocosGUI.h"using n... 阅读全文

posted @ 2016-02-29 21:02 hello_vzjw 阅读(127) 评论(0) 推荐(0)

导航