Commit Graph

30 Commits

Author SHA1 Message Date
bakpakin
a612a7b13d Changed Implementation of Entity Storage.
Remove Use of Sets for Storing Entities in hopes to speed up Iteration.
Add some tests.
2015-04-25 17:59:41 +08:00
bakpakin
debce6666e Update Version. 2015-04-22 17:56:53 +08:00
bakpakin
b2f44feb5b Update README.md 2015-04-22 17:23:45 +08:00
bakpakin
049d0eba76 Add processing system back to new API. 2015-04-22 17:22:14 +08:00
bakpakin
b85fa59c74 Fix some doc typos. 2015-04-21 21:57:10 +08:00
bakpakin
29ed0977a0 Update to 1.0.0.
Change System creation API.
Add functionality for reordering Systems.
2015-04-21 21:47:36 +08:00
bakpakin
283d034b21 Clean up System and Entity adding code. Add options for adding and removeing single Entities and Systems. 2015-04-21 19:37:33 +08:00
bakpakin
beb043be49 Fix small bug when adding entities. 2015-04-19 14:22:51 +08:00
bakpakin
d1e5ad731a Fix bug with entity Count and adding already existing entities. 2015-04-19 13:40:42 +08:00
bakpakin
f23941a903 Fixed bug in ordering of systems. 2015-04-03 19:59:02 +08:00
bakpakin
77df6e20aa Change API for activating/deactivating systems. Fix bugs. Update version number. 2015-03-31 19:55:12 +08:00
bakpakin
53ef1f2d36 Add tests. Add getters and setters for entity and system count. 2015-03-31 17:59:17 +08:00
bakpakin
c5c27c679c Fix bug with deactivating Systems. Add test. 2015-03-30 15:22:23 +08:00
bakpakin
22daad2b26 Minor changes. 2015-03-29 20:39:59 +08:00
bakpakin
c38e5633d5 Start using LDoc for documentation.
Remove class system
Fix various small bug
2015-03-29 20:19:31 +08:00
bakpakin
8d4b994329 Change API.
Remove Aspects for Filters.
2015-03-29 17:07:39 +08:00
bakpakin
eb1ee4c210 Change repo name 2015-03-29 15:50:42 +08:00
bakpakin
26ecc4f0a5 Switch to 'busted' for testing
Update version, Unify add and remove methods for World
Fix small bugs
2015-03-29 11:19:22 +08:00
bakpakin
5b4acb55ee Remove OSX-specific .gitignore 2015-03-29 07:42:04 +08:00
bakpakin
231182e7c2 Add method for activating and deactivating Systems in Worlds. 2015-03-29 07:02:14 +08:00
bakpakin
05d7574794 Actually remove World:change(...)
Increase version number
2015-03-28 23:11:36 +08:00
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
408f436dd1 Change Example 2015-03-22 12:35:08 +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