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

34 lines
448 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(Ref* sender);
protected:
Sprite* parent1;
Sprite* parent2;
Sprite* child;
Menu* menu;
};
#endif /* defined(__Bug_Child__) */