axmol/tools/tolua++/CCAccelerometerDelegate.pkg

24 lines
294 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
#include "CCCommon.h"
namespace cocos2d {
typedef struct
{
double x;
double y;
double z;
double timestamp;
} CCAcceleration;
class CCAccelerometerDelegate
{
void didAccelerate(CCAcceleration* pAccelerationValue);
};
} //namespace cocos2d