forked from SuooL/KungfuBoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TujiLayer.h
48 lines (40 loc) · 855 Bytes
/
TujiLayer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*!
* \file TujiLayer.h
* \date 2015/05/23 13:54
*
* \author SuooL
* Contact: [email protected]
*
* \brief 图籍场景的实现
*
* TODO: long description
*
* \note
*/
#ifndef __TujiLayer__H__
#define __TujiLayer__H__
#include "cocos2d.h"
#include "ui/CocosGUI.h"
#include "extensions/cocos-ext.h"
USING_NS_CC;
USING_NS_CC_EXT;
using namespace ui;
class TujiLayer : public Layer
{
public:
static Scene* createScene();
virtual bool init();
CREATE_FUNC(TujiLayer);
ListView* listView;
void selectedItemEvent(Ref* pSender, ListViewEventType type); // ListView触摸事件
private:
size_t m_iBeforeSel;
Sprite* m_pMZ_Pic;
LabelTTF* m_pMZLabel;
Sprite* m_pMZ_Txt;
Sprite* m_pLion_Pic;
LabelTTF* m_pLionLabel;
Sprite* m_pStone_Pic ;
LabelTTF* m_pStoneLabel;
};
#endif