remove behaviour.destroy component

This commit is contained in:
2019-10-12 21:49:47 +07:00
parent 54d6963667
commit c89edaf43c
3 changed files with 0 additions and 42 deletions

View File

@@ -77,32 +77,6 @@ namespace e2d
}
}
namespace e2d
{
const char* factory_loader<behaviour::destroy>::schema_source = R"json({
"type" : "object",
"required" : [],
"additionalProperties" : false,
"properties" : {}
})json";
bool factory_loader<behaviour::destroy>::operator()(
behaviour::destroy& component,
const fill_context& ctx) const
{
E2D_UNUSED(component, ctx);
return true;
}
bool factory_loader<behaviour::destroy>::operator()(
asset_dependencies& dependencies,
const collect_context& ctx) const
{
E2D_UNUSED(dependencies, ctx);
return true;
}
}
namespace e2d
{
const char* factory_loader<behaviour::disabled>::schema_source = R"json({

View File

@@ -141,7 +141,6 @@ namespace e2d
.register_component<actor>("actor")
.register_component<behaviour>("behaviour")
.register_component<behaviour::started>("behaviour.started")
.register_component<behaviour::destroy>("behaviour.destroy")
.register_component<behaviour::disabled>("behaviour.disabled")
.register_component<camera>("camera")
.register_component<flipbook_player>("flipbook_player")