本文来自http://blog.csdn.net/runaying ,引用必须注明出处!
cocos2d-x节点(Box2D.h)API
温馨提醒:为了大家能更好学习,强烈推荐大家看看本人的这篇博客 Cocos2d-X权威指南笔记
#ifndef BOX2D_H #define BOX2D_H /** \mainpage Box2D API Documentation \section intro_sec Getting Started For documentation(文档) please see http://box2d.org/documentation.html For discussion(讨论) please visit http://box2d.org/forum */ //这些 include 文件构成了主要的 Box2D API // These include files constitute the main Box2D API #include <Box2D/Common/b2Settings.h> #include <Box2D/Common/b2Draw.h> #include <Box2D/Common/b2Timer.h> #include <Box2D/Collision/Shapes/b2CircleShape.h> #include <Box2D/Collision/Shapes/b2EdgeShape.h> #include <Box2D/Collision/Shapes/b2ChainShape.h> #include <Box2D/Collision/Shapes/b2PolygonShape.h> #include <Box2D/Collision/b2BroadPhase.h> #include <Box2D/Collision/b2Distance.h> #include <Box2D/Collision/b2DynamicTree.h> #include <Box2D/Collision/b2TimeOfImpact.h> #include <Box2D/Dynamics/b2Body.h> #include <Box2D/Dynamics/b2Fixture.h> #include <Box2D/Dynamics/b2WorldCallbacks.h> #include <Box2D/Dynamics/b2TimeStep.h> #include <Box2D/Dynamics/b2World.h> #include <Box2D/Dynamics/Contacts/b2Contact.h> #include <Box2D/Dynamics/Joints/b2DistanceJoint.h> #include <Box2D/Dynamics/Joints/b2FrictionJoint.h> #include <Box2D/Dynamics/Joints/b2GearJoint.h> #include <Box2D/Dynamics/Joints/b2WheelJoint.h> #include <Box2D/Dynamics/Joints/b2MouseJoint.h> #include <Box2D/Dynamics/Joints/b2PrismaticJoint.h> #include <Box2D/Dynamics/Joints/b2PulleyJoint.h> #include <Box2D/Dynamics/Joints/b2RevoluteJoint.h> #include <Box2D/Dynamics/Joints/b2RopeJoint.h> #include <Box2D/Dynamics/Joints/b2WeldJoint.h> #endif