Changeset 7084 in orxonox.OLD for trunk/src/world_entities/projectiles/projectile.h
- Timestamp:
- Feb 7, 2006, 4:51:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/projectile.h
r6434 r7084 12 12 #include "world_entity.h" 13 13 14 #include "sound_source.h" 15 #include "sound_buffer.h" 16 14 17 class Projectile : public WorldEntity 15 18 { … … 22 25 void setLifeSpan(float lifeSpan); 23 26 24 27 void loadExplosionSound(const char* explosionSound); 28 void loadEngineSound(const char* engineSound); 25 29 void setMinEnergy(float energyMin); 26 30 /** @returns the minimal charched energy */ … … 58 62 59 63 PNode* target; //!< A target for guided Weapons. 64 65 SoundSource soundSource; 66 private: 67 SoundBuffer* explosionBuffer; 68 SoundBuffer* engineBuffer; 60 69 }; 61 70
Note: See TracChangeset
for help on using the changeset viewer.