Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2005, 12:22:24 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Slots are now PNodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/weapon.cc

    r4950 r4953  
    3939 * creates a new weapon
    4040*/
    41 Weapon::Weapon (PNode* parent, const Vector& coordinate, const Quaternion& direction)
     41Weapon::Weapon ()
    4242{
    4343  this->init();
    44   parent->addChild(this, PNODE_ALL);
    45   this->setRelCoor(coordinate);
    46   this->setRelDir(direction);
    4744}
    4845
Note: See TracChangeset for help on using the changeset viewer.