--- trunk/OOPSE/libmdtools/RigidBody.hpp 2004/04/12 21:02:01 1100 +++ trunk/OOPSE/libmdtools/RigidBody.hpp 2004/04/14 15:37:41 1108 @@ -53,6 +53,9 @@ class RigidBody : public StuntDouble { (public) void getJ( double theJ[3] ); void setJ( double theJ[3] ); + virtual void setType(char* type) {strcpy(rbName, type);} + virtual char* getType() { return rbName;} + void getTrq( double theT[3] ); void addTrq( double theT[3] ); @@ -102,6 +105,8 @@ class RigidBody : public StuntDouble { (public) bool forces_good; bool precalc_done; bool orient_good; + + char rbName[100]; //it will eventually be converted into string }; #endif