summary refs log tree commit diff stats
path: root/src/component.h
Commit message (Collapse)AuthorAgeFilesLines
* Changed EntityManager to dense vectorKelly Rauchenberger2018-02-071-0/+4
| | | | | | | | This should improve speed, because entity lookup will be O(1) instead of O(log n). Deletion is also O(1). Insert stays at potentially O(n), but still should be overall faster than the previous method. Also replaced some asserts with exceptions. Also made Component polymorphic so that deletion actually works properly.
* Wrote EntityManagerKelly Rauchenberger2015-06-111-0/+7