]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Person.h
Some refactor about Person class.
[lugaru.git] / Source / Person.h
index 7f09302c080790a2cc48e61c90536da9ccc1f1bc..60cc8616754fda39e805f17468912f6dbbf03bac 100644 (file)
@@ -47,8 +47,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #define rabbittype 0
 #define wolftype 1
 
-struct Person
+class Person
 {
+       public: 
                int whichpatchx;
                int whichpatchz;
                
@@ -424,6 +425,8 @@ struct 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);
 };