Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4976 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Aug 9, 2005, 12:48:44 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: flotilia

File:
1 edited

Legend:

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

    r4969 r4976  
    7171
    7272#include "cd_engine.h"
    73 
     73#include "npc.h"
    7474
    7575using namespace std;
     
    521521  PhysicsEngine::getInstance()->debug();
    522522
     523  for(int i = 0; i < 100; i++)
     524  {
     525    WorldEntity* tmp = new NPC();
     526    tmp->setAbsCoor(((float)rand()/RAND_MAX) * 2000, 40+ (float)rand()/RAND_MAX*30, ((float)rand()/RAND_MAX -.5) *500);
     527    this->spawn(tmp);
     528
     529
     530  }
     531
     532
    523533
    524534  ClassList::debug();
Note: See TracChangeset for help on using the changeset viewer.