]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Person.h
employ convenience functions
[lugaru.git] / Source / Person.h
index b061e3b4f3f3a7ba757812d4e55895f66789fb32..bb8a59a15274094fbc4d37572a352960df07e779 100644 (file)
@@ -329,6 +329,11 @@ class Person
 
 
 
+               // convenience
+               Joint& joint(int);
+               XYZ& jointPos(int);
+               XYZ& jointVel(int);
+
                void CheckKick();
                void CatchFire();
                void DoBlood(float howmuch, int which);
@@ -386,7 +391,6 @@ class Person
                void Puff(int whichlabel);
                void FootLand(int which, float opacity);
                void DoStuff();
-               Joint& getJointFor(int);
                void setAnimation(int);
                void DoAnimations();
                void RagDoll(bool checkcollision);