axmol/tests/cpp-tests/Classes/BugsTest/Bug-Child.h

34 lines
493 B
C
Raw Normal View History

2014-05-13 13:50:31 +08:00
//
// 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
2014-05-13 13:50:31 +08:00
{
public:
CREATE_FUNC(BugChild);
virtual bool init() override;
2014-05-13 13:50:31 +08:00
void switchChild(cocos2d::Ref* sender);
2014-05-13 13:50:31 +08:00
protected:
cocos2d::Sprite* parent1;
cocos2d::Sprite* parent2;
2014-05-13 13:50:31 +08:00
cocos2d::Sprite* child;
2014-05-13 13:50:31 +08:00
cocos2d::Menu* menu;
2014-05-13 13:50:31 +08:00
};
#endif /* defined(__Bug_Child__) */