-IDManager
-times counting for tests
This commit is contained in:
parent
86e4e57f74
commit
17551b08a5
4 changed files with 118 additions and 10 deletions
|
|
@ -5,12 +5,17 @@ import ecs.manager;
|
|||
struct EntityID
|
||||
{
|
||||
uint id;
|
||||
uint id_count;
|
||||
uint counter;
|
||||
}
|
||||
|
||||
struct Entity
|
||||
{
|
||||
EntityID id;
|
||||
|
||||
void updateID()
|
||||
{
|
||||
EntityManager.instance.id_manager.update(this);
|
||||
}
|
||||
}
|
||||
|
||||
struct EntityTemplate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue