Thrive
sound_listener.h
1 #pragma once
2 
3 #include <memory>
4 
5 namespace Ogre {
6 
7  class SceneNode;
8 }
9 
10 namespace cAudio {
11 
12  class IListener;
13 }
14 
15 namespace thrive {
16 
17  class SoundListener final{
18 public:
19  SoundListener(cAudio::IListener* controlledListener);
20  ~SoundListener();
21 
23  void detachFromNode();
24 
26  void attachToNode(Ogre::SceneNode* node);
27 
28 private:
29 
30  struct Implementation;
31  std::unique_ptr<Implementation> m_impl;
32  };
33 
34 }
void detachFromNode()
Detaches this from a scene node, stops this from moving with the node.
Definition: sound_listener.cpp:64
Definition: sound_listener.h:17
Definition: sound_emitter.h:11
void attachToNode(Ogre::SceneNode *node)
Attaches this object to an Ogre SceneNode and makes this move with the node.
Definition: sound_listener.cpp:70
Definition: bullet_ogre_conversion.h:6
Definition: debug_drawing.h:8