ayebear/picoes

Automated dependency injection for systems

Closed this issue · 0 comments

Add a world.setContext method that allows some state object to be added automatically to existing and new systems. Could be as simple as setting a "context" property on systems, or setting all the top level keys, or maybe setting only specified top level keys.