Interface modifications - ecbambrick/SimpleEntityComponentSystem GitHub Wiki
- (Aug 9, 2013) Detach accepts a variable number of component names to detach and returns a list of references to each component
secs.detach(entity, "component1", "component2")
- (Aug 23, 2013) Query returns a list where entities are stored in the key rather than value.
for entity in pairs(secs.query("type")) do
-- ...
end