Owner entity ID. Before the component instance be assigned to an entity, m_entity is 0. 0 is not a valid entity forever.
Don't modify or read this attribute! It's only used by EntityAdmin. If this component is being watched, EntityAdmin will apply an ID for the Component.id.
Returns owner entity ID. Before the component instance be assigned to an entity, it returns 0 that is not a valid entity.
Add one or more sibing components. If the owner entity has owned the component type you give, the new component instance will replace the old.
A list of component instances.
Remove one or more sibing components. Remove a component type that the owner entity doesn't own is allowed. So it's not necessary to determine whether the component type is owned before removing it.
A list of component instances.
class for all Components to inherit from. Component is a class with data.
Component