Changeset 9061 in orxonox.OLD for trunk/src/world_entities/npcs/generic_npc.h
- Timestamp:
- Jul 3, 2006, 6:39:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/generic_npc.h
r9003 r9061 12 12 13 13 #include "sound_source.h" 14 15 #include <stack> 16 14 17 15 18 namespace OrxSound{ class SoundSource; } … … 35 38 36 39 37 bool finalGoalReached() { return this->behaviourList .empty(); };40 bool finalGoalReached() { return this->behaviourList->empty(); }; 38 41 39 42 /* npc controlling functions to be Queued */ … … 52 55 /* stopping the movement */ 53 56 void stop(); 57 void resume(); 54 58 void nextStep(); 55 59 … … 68 72 /* some generic control funtions */ 69 73 void playAnimation(int animationIndex, int animPlaybackMode); 70 void playSound(std::string filename); 71 void playSound(int i); 74 void playSound(const std::string& filename); 72 75 73 76 virtual void tick (float time); … … 123 126 float soundVolume; 124 127 125 std::list<GenericNPC::Anim> behaviourList; 128 std::list<GenericNPC::Anim>* behaviourList; 129 std::stack<std::list<GenericNPC::Anim>*> animationStack; 126 130 Vector destCoor; 127 131 Quaternion destDir;
Note: See TracChangeset
for help on using the changeset viewer.