Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4436 in orxonox.OLD for orxonox/trunk/src/lib/coord/p_node.cc


Ignore:
Timestamp:
Jun 1, 2005, 12:50:07 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: baseObject now implements loading of objectNames

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/p_node.cc

    r4435 r4436  
    2929#include "vector.h"
    3030#include "null_parent.h"
     31#include "load_param.h"
    3132
    3233//#include "vector.h"
     
    4546  init(NULL);
    4647
    47   NullParent* np = NullParent::getInstance();
    48   np->addChild(this);
    49 }
    50 
     48  NullParent::getInstance()->addChild(this);
     49}
     50
     51PNode::PNode(const TiXmlElement* root)
     52{
     53  this->init(NULL);
     54  NullParent::getInstance()->addChild(this);
     55}
    5156
    5257
     
    8792}
    8893
    89 
    9094void PNode::init(PNode* parent)
    9195{
     
    98102}
    99103
    100 
     104void PNode::loadParams(const TiXmlElement* root)
     105{
     106  static_cast<BaseObject*>(this)->loadParams(root);
     107}
    101108
    102109/**
Note: See TracChangeset for help on using the changeset viewer.