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

29 lines
577 B
C++

#ifndef __BUG_624_H__
#define __BUG_624_H__
#include "BugsTest.h"
class Bug624Layer : public BugsTestBaseLayer
{
public:
virtual ~Bug624Layer();
virtual bool init();
void switchLayer(float dt);
virtual void onAcceleration(Acceleration* acc, Event* event);
CREATE_FUNC(Bug624Layer);
};
class Bug624Layer2 : public BugsTestBaseLayer
{
public:
virtual ~Bug624Layer2();
virtual bool init();
void switchLayer(float dt);
virtual void onAcceleration(Acceleration* acc, Event* event);
CREATE_FUNC(Bug624Layer2);
};
#endif // __BUG_624_H__