Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 29, 2005, 1:46:15 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: loading fields

File:
1 edited

Legend:

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

    r4728 r4730  
    415415
    416416    LoadParam<ParticleEngine>(root, "ParticleEngine", ParticleEngine::getInstance(), &ParticleEngine::loadParams);
     417    LoadParam<PhysicsEngine>(root, "PhysicsEngine", PhysicsEngine::getInstance(), &PhysicsEngine::loadParams);
    417418
    418419  // find Track
     
    494495  ////////////
    495496
    496   Field* gravity = new Gravity();
    497   gravity->setMagnitude(30.0);
    498 
     497  Gravity* test = new Gravity();
    499498
    500499  // SYSTEM TRAILING THE PLAYER
     
    525524  particleEngine->addConnection(emitter, system);
    526525
    527   new PhysicsConnection(system, gravity);
     526  //new PhysicsConnection(system, gravity);
    528527  //    new PhysicsConnection(this->localPlayer, gravity);
    529528
     
    552551
    553552
    554 //   new PhysicsConnection(testEntity, gravity);
    555 
    556   // printing out some debug stuff
    557   NullParent::getInstance()->debug(0);
    558   this->localPlayer->whatIs();
    559   this->whatIs();
    560   GraphicsEngine::getInstance()->whatIs();
     553  PhysicsEngine::getInstance()->debug();
     554
    561555}
    562556
Note: See TracChangeset for help on using the changeset viewer.