Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4765 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Jul 2, 2005, 2:23:41 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: addChild and setParentMode via XML-loading

Location:
orxonox/trunk/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4763 r4765  
    11641164*/
    11651165void World::spawn(WorldEntity* entity, PNode* parentNode,
    1166                   Vector* relCoor, Quaternion* relDir,
    1167                   int parentingMode)
     1166                  Vector* relCoor, Quaternion* relDir)
    11681167{
    11691168  this->nullParent = NullParent::getInstance();
     
    11741173      entity->setRelCoor (*relCoor);
    11751174      entity->setRelDir (*relDir);
    1176       entity->setParentMode(parentingMode);
    11771175
    11781176      this->entities->add (entity);
  • orxonox/trunk/src/story_entities/world.h

    r4746 r4765  
    9090  void spawn (WorldEntity* entity);
    9191  void spawn (WorldEntity* entity, Vector* absCoor, Quaternion* absDir);
    92   void spawn(WorldEntity* entity, PNode* parentNode, Vector* relCoor, Quaternion* relDir,
    93              int parentingMode);
     92  void spawn(WorldEntity* entity, PNode* parentNode, Vector* relCoor, Quaternion* relDir);
    9493
    9594  const char* getPath();
Note: See TracChangeset for help on using the changeset viewer.