UNPKG

@trevordilley/ecs

Version:

A simple Entity Component System (ECS)

8 lines (4 loc) 248 B
# Simple Entity-Component-System (ECS) Given an object containing a set of strings identifying an entity's components, apply the logic from a set of systems predicated on `allOf`, `oneOf`, or `noneOf` the components being present in an entity.