mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
add entity 'save' property support
This commit is contained in:
parent
5b5abd1ab0
commit
51f6f0e629
3 changed files with 24 additions and 8 deletions
|
|
@ -240,7 +240,9 @@ public:
|
|||
std::vector<Entity> getAllInside(AABB aabb);
|
||||
std::vector<Entity> getAllInRadius(glm::vec3 center, float radius);
|
||||
void despawn(entityid_t id);
|
||||
void despawn(std::vector<Entity> entities);
|
||||
dynamic::Value serialize(const Entity& entity);
|
||||
dynamic::List_sptr serialize(const std::vector<Entity>& entities);
|
||||
|
||||
void setNextID(entityid_t id) {
|
||||
nextID = id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue