|
@@ -9,6 +9,7 @@
|
|
|
#include "AudioController.h"
|
|
#include "AudioController.h"
|
|
|
#include "AnimationController.h"
|
|
#include "AnimationController.h"
|
|
|
#include "PhysicsController.h"
|
|
#include "PhysicsController.h"
|
|
|
|
|
+#include "AudioListener.h"
|
|
|
#include "Vector4.h"
|
|
#include "Vector4.h"
|
|
|
#include "TimeListener.h"
|
|
#include "TimeListener.h"
|
|
|
|
|
|
|
@@ -184,6 +185,13 @@ public:
|
|
|
*/
|
|
*/
|
|
|
inline PhysicsController* getPhysicsController() const;
|
|
inline PhysicsController* getPhysicsController() const;
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * Gets the audio listener for 3D audio.
|
|
|
|
|
+ *
|
|
|
|
|
+ * @return The audio listener for this game.
|
|
|
|
|
+ */
|
|
|
|
|
+ AudioListener* getAudioListener();
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Menu callback on menu events.
|
|
* Menu callback on menu events.
|
|
|
*/
|
|
*/
|
|
@@ -383,6 +391,7 @@ private:
|
|
|
AnimationController* _animationController; // Controls the scheduling and running of animations.
|
|
AnimationController* _animationController; // Controls the scheduling and running of animations.
|
|
|
AudioController* _audioController; // Controls audio sources that are playing in the game.
|
|
AudioController* _audioController; // Controls audio sources that are playing in the game.
|
|
|
PhysicsController* _physicsController; // Controls the simulation of a physics scene and entities.
|
|
PhysicsController* _physicsController; // Controls the simulation of a physics scene and entities.
|
|
|
|
|
+ AudioListener* _audioListener; // The audio listener in 3D space.
|
|
|
std::priority_queue<TimeEvent, std::vector<TimeEvent>, std::less<TimeEvent> > _timeEvents; // Contains the scheduled time events.
|
|
std::priority_queue<TimeEvent, std::vector<TimeEvent>, std::less<TimeEvent> > _timeEvents; // Contains the scheduled time events.
|
|
|
|
|
|
|
|
friend class SplashDisplayer;
|
|
friend class SplashDisplayer;
|