Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
ListenerSystem.hpp
1 // Copyright (C) 2017 Jérôme Leclercq
2 // This file is part of the "Nazara Development Kit"
3 // For conditions of distribution and use, see copyright notice in Prerequesites.hpp
4 
5 #pragma once
6 
7 #ifndef NDK_SERVER
8 #ifndef NDK_SYSTEMS_LISTENERSYSTEM_HPP
9 #define NDK_SYSTEMS_LISTENERSYSTEM_HPP
10 
11 #include <NDK/System.hpp>
12 
13 namespace Ndk
14 {
15  class NDK_API ListenerSystem : public System<ListenerSystem>
16  {
17  public:
19  ~ListenerSystem() = default;
20 
21  static SystemIndex systemIndex;
22 
23  private:
24  void OnUpdate(float elapsedTime) override;
25  };
26 }
27 
28 #include <NDK/Systems/ListenerSystem.inl>
29 
30 #endif // NDK_SYSTEMS_LISTENERSYSTEM_HPP
31 #endif // NDK_SERVER
TODO: For now is unable to display different color in the history, it needs a RichTextDrawer to do so...
Definition: Algorithm.hpp:12
NDK class that represents the audio system.
Definition: ListenerSystem.hpp:15