30 Commits
Author SHA1 Message Date
Calvin Rose afd7d326d7 Fix #22 - manage systems before setSystemIndex 2020-08-12 08:28:57 -05:00
Calvin Rose 29a4a02f30 Add tests for postWrap and preWrap. 2016-04-13 14:39:39 -04:00
bakpakin 08e5f13d85 Begin experimental option to not use caching. 2016-03-06 14:42:48 -05:00
bakpakin 27f881444a Fix string filter generator. 2016-03-05 16:06:56 -05:00
bakpakin 206361ca38 Make filters compile. Add some filter tests. 2016-03-05 13:34:44 -05:00
bakpakin b870b5a34e Add onAddToWorld and onRemoveFromWorld callbacks to systems. Also, adding or removing systems to a world twice raises an error. 2015-09-08 13:37:53 -04:00
bakpakin 5035d2c8a7 Make the scope of many local variables smaller. 2015-08-27 14:55:24 -04:00
bakpakin ce8ca35f7e Remove world.systemIndices to fix possible obscure bugs.
Remove tiny.getSystemIndex(world, system) in favor of a System 'index'
field.
Add some comments and documentation.
2015-07-06 23:28:50 -04:00
bakpakin 31f3396db1 Change System API again.
Remove tiny.getSystemEntityCount because it's useless and deprecation is for chumps.
2015-06-19 18:48:18 -04:00
bakpakin cb9ab332d2 Fix sorting + add sorting test. 2015-06-18 16:02:16 -04:00
bakpakin cbfc3d360f Add attributes to tiny.system. Implement Interval Systems. 2015-06-16 20:28:21 -04:00
bakpakin 7c4ff7747c Change names of tiny.requireOne and tiny.rejectOne to tiny.requireAny and tiny.rejectAny. 2015-05-07 17:32:32 +08:00
bakpakin 153f326612 Add two new filter functions - rejectAll and rejectOne. 2015-05-05 22:03:04 +08:00
bakpakin 994f3b6533 Remove tiny.activate and tiny.deactivate. 2015-05-04 11:46:18 +08:00
bakpakin e54f29884c Remove systemData from luadoc. 2015-05-04 09:24:36 +08:00
bakpakin 9991ff7474 Remove use of systemData - instead, Systems now have mutable data.
This removes a level of indirection and prevents passing around of entities.
2015-05-04 09:09:34 +08:00
bakpakin 6d1b280a40 Make enabling/disabling Systems not use varargs. 2015-05-03 23:31:56 +08:00
bakpakin 0f86eae571 Remove pesky trailing whitespace >:( 2015-04-27 21:48:27 +08:00
bakpakin dc69636f72 Fix reordering of Systems. 2015-04-25 21:37:04 +08:00
bakpakin 9a284ce9da Add some tests. 2015-04-25 18:14:41 +08:00
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 049d0eba76 Add processing system back to new API. 2015-04-22 17:22:14 +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 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 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