15 lines
198 B
C++
15 lines
198 B
C++
#include "Entity.h"
|
|
|
|
using namespace Seele;
|
|
|
|
Entity::Entity(PScene scene)
|
|
: identifier(scene->createEntity())
|
|
, scene(scene)
|
|
{
|
|
}
|
|
|
|
|
|
Entity::~Entity()
|
|
{
|
|
scene->destroyEntity(identifier);
|
|
} |