Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
VelocitySystem.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_SYSTEMS_VELOCITYSYSTEM_HPP
8 #define NDK_SYSTEMS_VELOCITYSYSTEM_HPP
9 
10 #include <NDK/System.hpp>
11 
12 namespace Ndk
13 {
14  class NDK_API VelocitySystem : public System<VelocitySystem>
15  {
16  public:
18  ~VelocitySystem() = default;
19 
20  static SystemIndex systemIndex;
21 
22  private:
23  void OnUpdate(float elapsedTime) override;
24  };
25 }
26 
27 #include <NDK/Systems/VelocitySystem.inl>
28 
29 #endif // NDK_SYSTEMS_VELOCITYSYSTEM_HPP
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 velocity system.
Definition: VelocitySystem.hpp:14