Added systems
It's now officially an ECS, yay! Former-commit-id: e2aacaa5c9fd362921cf3d064e346d11f942bd59
This commit is contained in:
27
SDK/include/NDK/System.hpp
Normal file
27
SDK/include/NDK/System.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
// Copyright (C) 2015 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Development Kit"
|
||||
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NDK_SYSTEM_HPP
|
||||
#define NDK_SYSTEM_HPP
|
||||
|
||||
#include <NDK/BaseSystem.hpp>
|
||||
|
||||
namespace Ndk
|
||||
{
|
||||
template<typename ComponentType>
|
||||
class System : public BaseSystem
|
||||
{
|
||||
public:
|
||||
System();
|
||||
virtual ~System();
|
||||
|
||||
BaseSystem* Clone() const override;
|
||||
};
|
||||
}
|
||||
|
||||
#include <NDK/System.inl>
|
||||
|
||||
#endif // NDK_SYSTEM_HPP
|
||||
Reference in New Issue
Block a user