1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 09:09:30 +00:00
ubiquitousse/ecs
Étienne Reuh Fildadut 9d2e886609 ecs: removed .entity in components, components do not need to be tables, pass entity as a new argument in several callbacks, remove System.methods, add System:callback, System:emit and System:reorder, add System.w, improve documentation
The component methods system was awkward and didn't give much benefit compared to just using methods on Systems. Plus now we really only have data in entities.

Since we don't have component methods, the callback system had to be replaced; I integrated it with the default System methods since it's a relatively common behavior.
2021-12-26 18:43:40 +01:00
..
children.can ecs: removed .entity in components, components do not need to be tables, pass entity as a new argument in several callbacks, remove System.methods, add System:callback, System:emit and System:reorder, add System.w, improve documentation 2021-12-26 18:43:40 +01:00
ecs.can ecs: removed .entity in components, components do not need to be tables, pass entity as a new argument in several callbacks, remove System.methods, add System:callback, System:emit and System:reorder, add System.w, improve documentation 2021-12-26 18:43:40 +01:00
init.lua Code reorganization, added uqt.ecs, removed LÖVE duplicates (uqt.audio, uqt.draw, uqt.filesystem) 2019-12-24 19:05:50 +01:00
README.md Improve documentation 2021-12-26 18:13:32 +01:00
timer.can Add callback, children, timer example systems 2021-06-24 16:24:54 +02:00

ubiquitousse.ecs

ECS (entity compenent system) library for Lua.

You can read the documentation here.

Licensed under ISC (equivalent to MIT/Expat/Simplified BSD).