Added remove_entity
This commit is contained in:
@@ -57,6 +57,7 @@ namespace ecs::lua {
|
||||
// @todo Allow to construct with given uuid
|
||||
return thiz->create_entity();
|
||||
},
|
||||
"remove_entity", &Manager::remove_entity,
|
||||
"has_entity", [] (Manager* thiz, std::string uuid) {
|
||||
// @todo Check if valid
|
||||
return thiz->has_entity(uuids::uuid::from_string(uuid).value());
|
||||
|
||||
Reference in New Issue
Block a user