// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Export.hpp #pragma once #ifndef NAZARA_CORE_SYSTEMS_VELOCITYSYSTEM_HPP #define NAZARA_CORE_SYSTEMS_VELOCITYSYSTEM_HPP #include #include #include #include #include namespace Nz { class NAZARA_CORE_API VelocitySystem { public: using Components = TypeList; inline VelocitySystem(entt::registry& registry); VelocitySystem(const VelocitySystem&) = delete; VelocitySystem(VelocitySystem&&) = delete; ~VelocitySystem() = default; void Update(Time elapsedTime); VelocitySystem& operator=(const VelocitySystem&) = delete; VelocitySystem& operator=(VelocitySystem&&) = delete; private: entt::registry& m_registry; }; } #include #endif // NAZARA_CORE_SYSTEMS_VELOCITYSYSTEM_HPP