]> code.bitgloo.com Git - clyne/entityx.git/commit
Entity::replace<Component> method.
authorDavid Wicks <david@sosolimited.com>
Wed, 14 Jan 2015 17:52:27 +0000 (12:52 -0500)
committerDavid Wicks <david@sosolimited.com>
Wed, 14 Jan 2015 17:58:44 +0000 (12:58 -0500)
commit0f642da244f97b009cfa0b310e6914aaf78c1314
tree6f0d347b4844717be9705a4fa2809b8dd56e67a6
parentd0c902c6167f965749b720d0c7ab9557187ec422
Entity::replace<Component> method.

Avoid the client-side song and dance around assignment in cases where
a component of the same type may already be assigned to the entity.
entityx/Entity.h