Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4287 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
May 26, 2005, 12:22:19 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: implemented the objectmanager debug functon, some small fixed in the ol code

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

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r4261 r4287  
    2727#include "list.h"
    2828#include "stdincl.h"
     29
     30#include "object_manager.h"
     31#include "projectile.h"
    2932
    3033using namespace std;
     
    5962  this->weaponMan->addWeapon(wpRight, W_CONFIG2);
    6063  this->weaponMan->addWeapon(wpLeft, W_CONFIG2);
    61 
    6264}
    6365
     
    104106  this->weaponMan->addWeapon(wpRight, W_CONFIG2);
    105107  this->weaponMan->addWeapon(wpLeft, W_CONFIG2);
     108
     109  BaseObject* p = new Projectile(wpRight);
     110  ObjectManager::getInstance()->cache(CL_PROJECTILE, 100, *p);
     111  ObjectManager::getInstance()->debug();
     112
    106113}
    107114
  • orxonox/trunk/src/world_entities/test_gun.cc

    r4006 r4287  
    3131#include "list.h"
    3232#include "animation3d.h"
     33
    3334
    3435using namespace std;
Note: See TracChangeset for help on using the changeset viewer.