fix readme api

This commit is contained in:
BlackMATov
2024-11-28 23:23:02 +07:00
parent 1d4ee1a1a3
commit 104fed6486

View File

@@ -27,7 +27,7 @@ idpool:release -> id -> ()
registry.entity -> (entity)
registry.guid -> entity -> (id)
registry.alive -> entity -> (boolean)
registry.destroy -> entity -> ()
registry.destroy -> entity -> (boolean)
registry.del -> entity -> entity... -> (entity)
registry.set -> entity -> entity -> any -> (entity)
registry.get -> entity -> entity... -> (any...)
@@ -53,7 +53,7 @@ registry.components -> chunk -> entity... -> (any[]...)
```
entity:guid -> (id)
entity:alive -> (boolean)
entity:destroy -> ()
entity:destroy -> (boolean)
entity:del -> entity... -> (entity)
entity:set -> entity -> any -> (entity)
entity:get -> entity... -> (any...)