Ndk/Entity: Remove include to Component
Former-commit-id: a209dff2bacf2793d8226671ce2feeeec46e4599
This commit is contained in:
@@ -8,12 +8,13 @@
|
||||
#define NDK_ENTITY_HPP
|
||||
|
||||
#include <Nazara/Core/Bitset.hpp>
|
||||
#include <NDK/Component.hpp>
|
||||
#include <NDK/Algorithm.hpp>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace Ndk
|
||||
{
|
||||
class BaseComponent;
|
||||
class EntityHandle;
|
||||
class World;
|
||||
|
||||
|
||||
@@ -9,12 +9,6 @@
|
||||
|
||||
namespace Ndk
|
||||
{
|
||||
inline Entity::Entity(World& world, EntityId id) :
|
||||
m_id(id),
|
||||
m_world(&world)
|
||||
{
|
||||
}
|
||||
|
||||
template<typename ComponentType, typename... Args>
|
||||
ComponentType& Entity::AddComponent(Args&&... args)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user