Should I add a owner component on every entity that has parent? if yes, what is the right term for that component. Currently I am using AttachmentComponent
that consist of owner Entity
, and use it like in the below code.
AttachmentComponent ...
ItemComponent ...
entity.add(attachment);
entity.add(item);