Ndk/Entity: Remove include to Component

Former-commit-id: a209dff2bacf2793d8226671ce2feeeec46e4599
This commit is contained in:
Lynix
2015-06-04 09:56:43 +02:00
parent 80ed8c48bd
commit 30ba25168f
3 changed files with 9 additions and 7 deletions

View File

@@ -3,6 +3,7 @@
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
#include <NDK/Entity.hpp>
#include <NDK/BaseComponent.hpp>
#include <NDK/EntityHandle.hpp>
#include <NDK/World.hpp>
@@ -21,6 +22,12 @@ namespace Ndk
handle->OnEntityMoved(this);
}
Entity::Entity(World& world, EntityId id) :
m_id(id),
m_world(&world)
{
}
Entity::~Entity()
{
Destroy();