随笔分类 - cocos2d-x
摘要:1 #ifndef _DRAGLABEL_H_ 2 #define _DRAGLABEL_H_ 3 4 #include "cocos2d.h" 5 USING_NS_CC; 6 7 class DragLabel : public Layer { 8 private: 9 Node* pickNode = NULL;10 Point delta;11 LabelTTF * lbl;12 public:13 /*得到 Scene 的静态方法,在AppDelegate类中需要使用*/14 static Scene* getScene() {15 ...
阅读全文
浙公网安备 33010602011771号