Added note about manager's addComponent

AddComponent overwrites an already existing component
if it exists.
This commit is contained in:
Stephen Seo 2016-04-06 19:35:24 +09:00
parent 577132554e
commit 2a11d1e86c

View file

@ -352,6 +352,9 @@ namespace EC
Additional parameters given to this function will construct the Component with those
parameters.
Note that if the Entity already has the same component, then it will be overwritten
by the newly created Component with the given arguments.
Example:
\code{.cpp}
struct C0