Biped.h
上传用户:gb3593
上传日期:2022-01-07
资源大小:3028k
文件大小:1k
- #ifndef BIPED_H
- #define BIPED_H
- #include "Box2D.h"
- // Ragdoll class thanks to darkzerox.
- class Biped
- {
- public:
- Biped(b2World*, const b2Vec2& position);
- ~Biped();
- private:
- b2World* m_world;
- b2Body *LFoot, *RFoot, *LCalf, *RCalf, *LThigh, *RThigh,
- *Pelvis, *Stomach, *Chest, *Neck, *Head,
- *LUpperArm, *RUpperArm, *LForearm, *RForearm, *LHand, *RHand;
- b2RevoluteJoint *LAnkle, *RAnkle, *LKnee, *RKnee, *LHip, *RHip,
- *LowerAbs, *UpperAbs, *LowerNeck, *UpperNeck,
- *LShoulder, *RShoulder, *LElbow, *RElbow, *LWrist, *RWrist;
- };
- #endif