Changeset 2060 for code/branches/weapon/src/orxonox/objects/Projectile.cc
- Timestamp:
- Oct 29, 2008, 4:13:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon/src/orxonox/objects/Projectile.cc
r1907 r2060 47 47 float Projectile::speed_s = 5000; 48 48 49 Projectile::Projectile( SpaceShip* owner) : owner_(owner)49 Projectile::Projectile(Weapon* owner) : owner_(owner) 50 50 { 51 51 RegisterObject(Projectile); … … 57 57 this->setStatic(false); 58 58 this->translate(Vector3(55, 0, 0), Ogre::Node::TS_LOCAL); 59 59 60 60 if (this->owner_) 61 61 { … … 124 124 delete this; 125 125 } 126 126 127 127 bool Projectile::create(){ 128 128 return WorldEntity::create();
Note: See TracChangeset
for help on using the changeset viewer.