Files
DarkRP2D/external/Box2D-2.3.1/Contributions/Tests/Biped.h
Julian Nießner d175d433a8 Added Box2D
2018-05-06 12:43:20 +02:00

26 lines
569 B
C++

#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