Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Utility.hpp
1 // Copyright (C) 2017 Jérôme Leclercq
2 // This file is part of the "Nazara Engine - Utility module"
3 // For conditions of distribution and use, see copyright notice in Config.hpp
4 
5 #pragma once
6 
7 #ifndef NAZARA_UTILITY_HPP
8 #define NAZARA_UTILITY_HPP
9 
10 #include <Nazara/Prerequesites.hpp>
11 #include <Nazara/Utility/Config.hpp>
12 #include <Nazara/Utility/Enums.hpp>
13 
14 namespace Nz
15 {
16  class NAZARA_UTILITY_API Utility
17  {
18  public:
19  Utility() = delete;
20  ~Utility() = delete;
21 
22  static bool Initialize();
23 
24  static bool IsInitialized();
25 
26  static void Uninitialize();
27 
28  static unsigned int ComponentCount[ComponentType_Max+1];
29  static std::size_t ComponentStride[ComponentType_Max+1];
30 
31  private:
32  static unsigned int s_moduleReferenceCounter;
33  };
34 }
35 
36 #endif // NAZARA_UTILITY_HPP
TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Utility class that represents the module initializer of Utility.
Definition: Utility.hpp:16