Add entity to system. Returen pointer is valid only before one from commit(), begin() or end() will be called. To save entity to further use you should save ID instead of pointer.
pointer entity template allocated by EntityManager. Can be null in which case empty entity would be added (entity without components)
See Implementation
Add entity to system. Returen pointer is valid only before one from commit(), begin() or end() will be called. To save entity to further use you should save ID instead of pointer.