Commit graph

20 commits

Author SHA1 Message Date
09a7546509 Changed implementation of stored functions to map
An unordered_map stores functions, allowing for functions to be
removed by index, and bulk removals with filtering by index.

Also added reset(), which changes the state of the Manager to be
almost identical to a newly constructed one.
2016-09-21 21:01:48 +09:00
2e115cd7a2 Fixed docs, ids changed to const references 2016-09-20 20:31:56 +09:00
7c49ab4f04 Added capability to store functions
EC::Manager can now store functions similar to functions
given to EC::Manager::forMatchingSignature.
2016-09-20 20:07:28 +09:00
ab2209b698 Fixed bug where deleted entities retain info 2016-08-30 17:34:34 +09:00
577132554e Added support for components of type UniquePtr 2016-04-06 19:32:30 +09:00
aa05522772 Slight change to unit tests, docs
Unit test now creates Component with
Manager::addComponent.
2016-03-14 20:36:05 +09:00
635eed34a4 Minor fixes/changes 2016-03-14 18:16:09 +09:00
de07c8ad1a Fixed entity deletion bug
Fixed bug where deleted entity would retain Components/Tags.
2016-03-14 11:39:37 +09:00
c6002149d3 Fix to Meta/Matching 2016-03-13 18:17:06 +09:00
f123f075eb Added Meta/Matching, progress on Bitset/Manager 2016-03-13 18:07:49 +09:00
bee0c9d26d Added forEach to EC/Meta 2016-03-13 14:06:57 +09:00
24ce103fbb Added EC/Meta/TypeListGet, WIP in Bitset, Manager
TODO, get a ForEach type recursion working for Bitset.
2016-03-05 23:33:24 +09:00
d8dfba8361 Fixed support for Clang
Minor addition to unit tests.
2016-03-05 20:16:32 +09:00
1926a9eabb Added EC/Meta/Morph.hpp
Started work on EC/Manager.hpp
2016-03-04 22:59:43 +09:00
a503eb628d Added EC/Meta/Combine.hpp
Also some renaming in MetaTest.hpp
2016-03-04 21:35:26 +09:00
c08f7d6445 Slight change to Bitset test
Now, will not break if listAll and listTagsAll changes.
2016-03-04 21:15:30 +09:00
12bc0d9f8f Added EC/Bitset.hpp and EC/Meta/ContainsAll.hpp
Also added EC/EC.hpp and EC/Meta/Meta.hpp that loads all
headers in that directory.
2016-03-04 21:12:37 +09:00
c318121dc8 Split Meta.hpp 2016-03-04 20:20:56 +09:00
4092c7c565 Added IndexOf 2016-02-25 12:27:04 +09:00
8ffacb16b1 Basic meta stuff working 2016-02-25 12:08:02 +09:00