mirror of
https://github.com/wu736139669/OzgGameRPG.git
synced 2026-08-05 06:24:38 +00:00
38 lines
824 B
C++
38 lines
824 B
C++
//
|
|
// RPGMapDialogLayer.h
|
|
// OzgGameRPG
|
|
//
|
|
// Created by ozg on 14-3-31.
|
|
//
|
|
//
|
|
|
|
#ifndef __OzgGameRPG__RPGMapDialogLayer__
|
|
#define __OzgGameRPG__RPGMapDialogLayer__
|
|
|
|
#include "cocos2d.h"
|
|
#include "RPGMapNPCRoleSprite.h"
|
|
|
|
USING_NS_CC;
|
|
using namespace std;
|
|
|
|
class RPGMapDialogLayer : public CCLayer
|
|
{
|
|
|
|
private:
|
|
RPGMapNPCRoleSprite* m_npc;
|
|
|
|
public:
|
|
|
|
RPGMapDialogLayer();
|
|
virtual ~RPGMapDialogLayer();
|
|
bool init(RPGMapNPCRoleSprite* npc);
|
|
static RPGMapDialogLayer* create(RPGMapNPCRoleSprite* npc);
|
|
|
|
bool ccTouchBegan(cocos2d::CCTouch *pTouch, cocos2d::CCEvent *pEvent);
|
|
void ccTouchMoved(cocos2d::CCTouch *pTouch, cocos2d::CCEvent *pEvent);
|
|
void ccTouchEnded(cocos2d::CCTouch *pTouch, cocos2d::CCEvent *pEvent);
|
|
|
|
};
|
|
|
|
#endif /* defined(__OzgGameRPG__RPGMapDialogLayer__) */
|