Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3631 in orxonox.OLD for orxonox/trunk/src/world_entities/weapon.cc


Ignore:
Timestamp:
Mar 22, 2005, 12:10:09 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: gun can be fired, projectil do not move jet

File:
1 edited

Legend:

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

    r3620 r3631  
    3434   creates a new weapon
    3535*/
    36 Weapon::Weapon () : WorldEntity()
    37 {
     36Weapon::Weapon (PNode* parent, Vector* coordinate, Quaternion* direction)
     37  : WorldEntity()
     38{
     39  parent->addChild(this, PNODE_ROTATE_AND_MOVE);
     40  this->setRelCoor(coordinate);
     41  this->setRelDir(direction);
    3842  WorldInterface* wi = WorldInterface::getInstance();
    3943  this->worldEntities = wi->getEntityList();
Note: See TracChangeset for help on using the changeset viewer.