Commit Graph

114 Commits

Author SHA1 Message Date
bakpakin
a504bd6336 Add removeSystem to World metatable. 2015-06-14 10:17:18 -04:00
bakpakin
69ae37586e Fix scm rockspec. 2015-06-07 20:05:56 -04:00
bakpakin
44fb94c457 Add scm rockspec. Fix README. 2015-06-07 18:47:50 -04:00
bakpakin
9230dad1e1 Update README.md to direct users to demo. 2015-05-17 08:26:04 +08:00
bakpakin
e4bf3f3767 Update to version 1.1-2. 2015-05-07 19:53:51 +08:00
bakpakin
71e97c12f6 Improve System documentation. 2015-05-07 19:45:28 +08: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
808407f7c4 Fix 'tiny.add' and 'tiny.remove' iterating nil values. 2015-05-05 22:21:39 +08:00
bakpakin
153f326612 Add two new filter functions - rejectAll and rejectOne. 2015-05-05 22:03:04 +08:00
bakpakin
a4e3c90724 Update version to 1.1-1. 2015-05-04 20:24:03 +08:00
bakpakin
e47920f332 Update documentation. 2015-05-04 20:21:12 +08:00
bakpakin
e96d494526 Change sorted System calbacks. 2015-05-04 12:05:53 +08:00
bakpakin
994f3b6533 Remove tiny.activate and tiny.deactivate. 2015-05-04 11:46:18 +08:00
bakpakin
264d835334 Fix Clearing Systems. 2015-05-04 09:32:04 +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
5e7d2ea7fc Add license in tiny.lua.
All non-release commits are now versioned 'dev'.
2015-05-04 08:21:30 +08:00
bakpakin
6d1b280a40 Make enabling/disabling Systems not use varargs. 2015-05-03 23:31:56 +08:00
bakpakin
fb345c7718 Add Sorted Systems.
Remove tiny.manageSystems and tiny.manageEntities from API.
Add onModify System callback.
2015-05-03 23:05:50 +08:00
bakpakin
0f86eae571 Remove pesky trailing whitespace >:( 2015-04-27 21:48:27 +08:00
bakpakin
fd49633d17 Don't update a System without an update field in the System. 2015-04-27 15:45:54 +08:00
bakpakin
94fc3ac453 Update README.md to include luarocks. 2015-04-27 14:24:59 +08:00
bakpakin
4109d37cdb Update README.md to include demo. 2015-04-27 14:20:34 +08:00
bakpakin
c9dccaf85f Ignore .rock. 2015-04-26 11:55:07 +08:00
bakpakin
d154c7f627 1.0-2 Release. 2015-04-26 11:40:53 +08:00
bakpakin
18bd48e163 Fix first rockspec. 2015-04-26 11:35:23 +08:00
bakpakin
724d5689fe Add 1.0.1 rockspec. 2015-04-26 11:29:20 +08:00
bakpakin
6531332ea8 Remove parallel tables that hold System data in favor of one table. 2015-04-26 09:55:55 +08:00
bakpakin
dc69636f72 Fix reordering of Systems. 2015-04-25 21:37:04 +08:00
bakpakin
dc3deab725 Remove inspect.lua from source. 2015-04-25 21:02:13 +08:00
bakpakin
39adae204b Fixed README.md example 2015-04-25 18:36:59 +08:00
bakpakin
f53db5ddb6 Update README.md 2015-04-25 18:30:05 +08:00
bakpakin
fa58c016e9 Update Version. 2015-04-25 18:16:14 +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
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