Changeset 3631 in orxonox.OLD for orxonox/trunk/src/world_entities/weapon.cc
- Timestamp:
- Mar 22, 2005, 12:10:09 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapon.cc
r3620 r3631 34 34 creates a new weapon 35 35 */ 36 Weapon::Weapon () : WorldEntity() 37 { 36 Weapon::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); 38 42 WorldInterface* wi = WorldInterface::getInstance(); 39 43 this->worldEntities = wi->getEntityList();
Note: See TracChangeset
for help on using the changeset viewer.