class
ecs::IECSEntityOwner
Interface for objects that own an ECS entity.
Public
Methods
~IECSEntityOwner
virtual ~IECSEntityOwner() noexcept = default
GetECSRegistry
Returns the ECS registry this entity belongs to, or null if not part of a registry.
GetECSEntity
virtual Entity GetECSEntity() const = 0
Returns the ECS entity handle.
CreateECSEntity
Creates an ECS entity in the provided registry and adds default fragments.
Asserts if entity already exists.