EntityManager.allocateTemplate

Allocate EntityTemplate with all components from entity witch it's data and returns pointer to it.

Parameters

entity_id EntityID

ID of entity from which should be created template

fill_default bool

if true, components will be filled with default data, instead entity data will be taken

Meta