mirror of https://github.com/axmolengine/axmol.git
35 lines
475 B
C
35 lines
475 B
C
|
//
|
||
|
// Bug-Child.h
|
||
|
// cocos2d_tests
|
||
|
//
|
||
|
// Created by NiTe Luo on 5/12/14.
|
||
|
//
|
||
|
//
|
||
|
|
||
|
#ifndef __Bug_Child__
|
||
|
#define __Bug_Child__
|
||
|
|
||
|
#include "BugsTest.h"
|
||
|
|
||
|
class BugChild : public BugsTestBaseLayer
|
||
|
{
|
||
|
public:
|
||
|
static Scene* scene();
|
||
|
virtual bool init();
|
||
|
|
||
|
void switchChild(Ref* sender);
|
||
|
|
||
|
CREATE_FUNC(BugChild);
|
||
|
|
||
|
protected:
|
||
|
|
||
|
Sprite* parent1;
|
||
|
Sprite* parent2;
|
||
|
|
||
|
Sprite* child;
|
||
|
|
||
|
Menu* menu;
|
||
|
};
|
||
|
|
||
|
#endif /* defined(__Bug_Child__) */
|