Files
Seele/src/Engine/Actor/Entity.cpp
T

15 lines
198 B
C++
Raw Normal View History

#include "Entity.h"
using namespace Seele;
Entity::Entity(PScene scene)
2023-11-06 14:47:21 +01:00
: scene(scene)
, identifier(scene->createEntity())
{
}
Entity::~Entity()
{
2023-01-21 18:43:21 +01:00
scene->destroyEntity(identifier);
}