NazaraEngine/include/Nazara/Core/Updatable.hpp

26 lines
546 B
C++

// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_CORE_UPDATABLE_HPP
#define NAZARA_CORE_UPDATABLE_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/Config.hpp>
namespace Nz
{
class NAZARA_CORE_API Updatable
{
public:
Updatable() = default;
virtual ~Updatable();
virtual void Update() = 0;
};
}
#endif // NAZARA_CORE_UPDATABLE_HPP