axmol/tools/tolua++/CCAccelerometerDelegate.pkg

26 lines
365 B
Plaintext

#include "CCCommon.h"
namespace cocos2d {
typedef struct
{
double x;
double y;
double z;
double timestamp;
} CCAcceleration;
class CCAccelerometerDelegate
{
void didAccelerate(CCAcceleration* pAccelerationValue);
void AccelerometerDestroy(void);
void AccelerometerKeep(void);
};
} //namespace cocos2d