Commit Graph

8 Commits

Author SHA1 Message Date
bakpakin
c046bde701 Remove dependency on IDs in Systems and Entities.
This allows Systems to be reused in multiple worlds.
Fix a few bugs.
Remove World:change(...)
2015-03-28 22:54:34 +08:00
bakpakin
e8b4b7f106 Fix small but devestating bug for systems without Entities. 2015-03-28 21:03:42 +08:00
bakpakin
17592be9dc Add function to update systems indepenently of Worlds for, say, rendering. 2015-03-24 18:01:21 +08:00
bakpakin
db69cbca1d Add more callbacks to Systems for adding and removing entities. 2015-03-23 22:58:26 +08:00
bakpakin
216064d63c Update version to 0.0.2
Add System addition and removal
Changed implementation for Entity removal
Change README and example code
2015-03-22 12:07:42 +08:00
bakpakin
b98cd5a14d Rename World:free to World:remove.
Fix World:free bug.
Add __tostring method for Aspect and System.
Add a few more tests.
Add more comments.
Give systems ids.
Change injected "_id" field in Entities to
"id" field.
2015-03-22 10:41:34 +08:00
bakpakin
f4c6ce1004 Remove use of table.pack 2015-03-22 08:15:44 +08:00
bakpakin
f3b2e9a0e5 Initial Commit. 2015-03-21 16:14:12 +08:00