]> code.bitgloo.com Git - clyne/entityx.git/commit
Some breaking changes to Entity management.
authorAlec Thomas <alec@swapoff.org>
Mon, 11 Mar 2013 05:38:06 +0000 (01:38 -0400)
committerAlec Thomas <alec@swapoff.org>
Mon, 11 Mar 2013 05:38:06 +0000 (01:38 -0400)
commitdb4f4872f44d0ebe53dbdbdf3592450fdc50d2b8
tree657ea01bdb0cfbc7fea54397af743ae27d3153c5
parent1980168196172332049b313dedffab46bb1f3ae3
Some breaking changes to Entity management.

- Entity will no longer implicitly cast to Entity::Id. This is safer
  and cleaner.
- Use Entity::destroy(). This will destroy the entity *and* invalidate
  the handle.
- Removed the exists() method, as it was largely meaningless anyway.
  Listen to EntityDestroyedEvent instead.
- Exposed Entity::manager() and removed manager attribute from events.
CMakeLists.txt
README.md
entityx/Components_test.cc
entityx/Entity.cc
entityx/Entity.h
entityx/Entity_test.cc
entityx/System_test.cc