2011-07-08 11:22:35 +08:00
|
|
|
#ifndef __BUG_624_H__
|
|
|
|
#define __BUG_624_H__
|
|
|
|
|
|
|
|
#include "BugsTest.h"
|
|
|
|
|
|
|
|
class Bug624Layer : public BugsTestBaseLayer
|
|
|
|
{
|
|
|
|
public:
|
2013-11-11 10:23:05 +08:00
|
|
|
virtual ~Bug624Layer();
|
2011-07-08 11:22:35 +08:00
|
|
|
virtual bool init();
|
2012-06-08 13:55:28 +08:00
|
|
|
void switchLayer(float dt);
|
2013-09-03 18:22:03 +08:00
|
|
|
virtual void onAcceleration(Acceleration* acc, Event* event);
|
2011-07-08 11:22:35 +08:00
|
|
|
|
2012-08-27 16:11:07 +08:00
|
|
|
CREATE_FUNC(Bug624Layer);
|
2011-07-08 11:22:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class Bug624Layer2 : public BugsTestBaseLayer
|
|
|
|
{
|
|
|
|
public:
|
2013-11-11 10:23:05 +08:00
|
|
|
virtual ~Bug624Layer2();
|
2011-07-08 11:22:35 +08:00
|
|
|
virtual bool init();
|
2012-06-08 13:55:28 +08:00
|
|
|
void switchLayer(float dt);
|
2013-09-03 18:22:03 +08:00
|
|
|
virtual void onAcceleration(Acceleration* acc, Event* event);
|
2011-07-08 11:22:35 +08:00
|
|
|
|
2012-08-27 16:11:07 +08:00
|
|
|
CREATE_FUNC(Bug624Layer2);
|
2011-07-08 11:22:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __BUG_624_H__
|