ImmutableOctet / glare

Glare: Open Source Game Engine written in Modern C++
MIT License
0 stars 0 forks source link

Implement a structured interface for destroying entities from C++ scripts #76

Open ImmutableOctet opened 1 month ago

ImmutableOctet commented 1 month ago

This would be a companion to the feature described in #74.

Destruction would be handled with an awaitable, deferred until the end of the frame (or later), possibly utilizing the 'entity lock' concept (#77). The request likely wouldn't need a UUID, but an event would need to be emitted for the awaitable to confirm that destruction has taken place.