Changeset 4742 in orxonox.OLD for orxonox/trunk/src/lib/physics/fields
- Timestamp:
- Jun 30, 2005, 4:38:33 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/physics/fields
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/fields/gravity.cc
r4730 r4742 25 25 CREATE_FACTORY(Gravity); 26 26 27 /**28 \brief standard constructor29 \todo this constructor is not jet implemented - do it30 */31 Gravity::Gravity ()32 {33 this->setClassName("Gravity");34 }35 36 27 Gravity::Gravity(const TiXmlElement* root) 37 28 { 38 this->setClass Name("Gravity");29 this->setClassID(CL_FIELD_GRAVITY, "Gravity"); 39 30 40 this->loadParams(root); 31 if (root != NULL) 32 this->loadParams(root); 41 33 } 42 34 -
orxonox/trunk/src/lib/physics/fields/gravity.h
r4728 r4742 18 18 19 19 public: 20 Gravity(); 21 Gravity(const TiXmlElement* root); 20 Gravity(const TiXmlElement* root = NULL); 22 21 virtual ~Gravity(); 23 22 -
orxonox/trunk/src/lib/physics/fields/point_gravity.cc
r4395 r4742 1 /* 1 /* 2 2 orxonox - the future of 3D-vertical-scrollers 3 3 … … 25 25 \todo this constructor is not jet implemented - do it 26 26 */ 27 PointGravity::PointGravity () 27 PointGravity::PointGravity () 28 28 { 29 this->setClass Name ("PointGravity");29 this->setClassID(CL_FIELD_POINT_GRAVITY, "PointGravity"); 30 30 } 31 31 … … 35 35 36 36 */ 37 PointGravity::~PointGravity () 37 PointGravity::~PointGravity () 38 38 { 39 39 // delete what has to be deleted here -
orxonox/trunk/src/lib/physics/fields/twirl.cc
r4395 r4742 1 /* 1 /* 2 2 orxonox - the future of 3D-vertical-scrollers 3 3 … … 25 25 \todo this constructor is not jet implemented - do it 26 26 */ 27 Twirl::Twirl () 27 Twirl::Twirl () 28 28 { 29 this->setClass Name ("Twirl");29 this->setClassID(CL_FIELD_TWIRL, "Twirl"); 30 30 } 31 31 … … 35 35 36 36 */ 37 Twirl::~Twirl () 37 Twirl::~Twirl () 38 38 { 39 39 // delete what has to be deleted here
Note: See TracChangeset
for help on using the changeset viewer.