A dependency free, lightweight, fast Entity-Component System (ECS) implementation in Swift
Optional
support to Entity value getter/setter/subscriptscreateEntity
convenience methods to Entityassign(component(s)...)
capabilitiesEntity.ComponentsIterator
implementationallComponents()
from EntityComponent
value getter and setter by KeyPath
to EntityEntity
for Component
lookupComponent
lookup getter API on Nexus
Sequence
and LazySequenceProtocol
EntitiesIterator
to iterate over all entities in a nexus (issue #32)ComponentsIterator
to Sequence
nexus.get(unsafeEntity)
and nexus.get(entity)
(use nexus.entity(from)
instead)createMember
function builder to familiesdeleteMembers
to families