摘要: 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 ... 阅读全文
posted @ 2013-12-26 23:14 easyfrog 阅读(532) 评论(0) 推荐(0) 编辑