Entitas::SafeAERC
Inherits Entitas::AERC / Struct / Value / Object
Automatic Entity Reference Counting (AERC) is used internally to prevent pooling retained entities. If you use retain manually you also have to release it manually at some point. SafeAERC checks if the entity has already been retained or released. It's slower, but you keep the information about the owners.
Constructors
new(entity : Entitas::Entity)
SourceInstance methods
includes?(id : UInt64)
Sourceincludes?(owner)
Sourceowners
Sourcerelease(owner)
Sourceretain(owner)
Sourceretain_count
Source