Commit graph

10 commits

Author SHA1 Message Date
d6caa67781 Propagate entity changes before each system update and draw 2022-06-13 02:36:37 -07:00
c66dd322f9 Remove secondary component cache 2022-06-11 01:05:47 -07:00
193532a951 Refactor System interface
Systems now specify their components via public fields.
2022-01-31 20:10:24 -08:00
e08cfe7970 Print Component name when debugging 2021-12-11 21:04:15 -08:00
5e7318e6a2 Optimize removing an Entity from a slice of entities
Avoid creating a new slice.
2021-12-09 20:21:25 -08:00
3c7785e5e5 Add World.Preallocate
This function creates and immediately removes the specified number of entities.
2021-12-09 19:49:51 -08:00
21d6f53dcc Rename statistics functions 2021-12-08 19:47:34 -08:00
62caf1bdd2 Add additional benchmarks and optimize
Allocate memory less often.
2021-12-07 19:57:02 -08:00
83c9c1fb0c Refactor System
Systems must now specify required and optional components separately.
2021-12-06 21:03:09 -08:00
039863b55b Add World
This enables applications to use multiple instances.
2021-12-05 17:17:18 -08:00