mirror of https://github.com/axmolengine/axmol.git
34 lines
493 B
C++
34 lines
493 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 BugsTestBase
|
|
{
|
|
public:
|
|
CREATE_FUNC(BugChild);
|
|
|
|
virtual bool init() override;
|
|
|
|
void switchChild(cocos2d::Ref* sender);
|
|
|
|
protected:
|
|
|
|
cocos2d::Sprite* parent1;
|
|
cocos2d::Sprite* parent2;
|
|
|
|
cocos2d::Sprite* child;
|
|
|
|
cocos2d::Menu* menu;
|
|
};
|
|
|
|
#endif /* defined(__Bug_Child__) */
|