mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
add entities indexing
This commit is contained in:
parent
66a1240fbc
commit
f135896683
7 changed files with 50 additions and 50 deletions
|
|
@ -8,6 +8,10 @@
|
|||
struct EntityDef {
|
||||
/// @brief Entity string id (with prefix included)
|
||||
std::string const name;
|
||||
|
||||
struct {
|
||||
entityid_t id;
|
||||
} rt;
|
||||
|
||||
EntityDef(const std::string& name);
|
||||
EntityDef(const EntityDef&) = delete;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue