Changeset 7126 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Feb 13, 2006, 1:14:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r7102 r7126 29 29 #include "state.h" 30 30 #include "animation3d.h" 31 #include "vector.h"32 31 33 32 #include "sound_source.h" … … 86 85 this->soundSource = new SoundSource(this); //< Every Weapon has exacty one SoundSource. 87 86 this->emissionPoint.setParent(this); //< One EmissionPoint, that is a PNode connected to the weapon. You can set this to the exitting point of the Projectiles 87 this->emissionPoint.setName("EmissionPoint"); 88 this->emissionPoint.addNodeFlags(PNODE_PROHIBIT_DELETE_WITH_PARENT); 88 89 89 90 this->defaultTarget = NULL; //< Nothing is Targeted by default.
Note: See TracChangeset
for help on using the changeset viewer.