Config for World instantiation. Extend this class to create your own "Plugins"


new (?dependencies:Array<WorldConfig>)

Create WorldConfig. Optional dependencies could require array of "Plugins" to include


add (service:Service, ?priority:Int):Void

Adds service instance to config. It could be Component/System/Service. priority is optional value for System instances. Systems with the lowest priority running first.

include (config:WorldConfig):Void

Include plugin WorldConfig instance.

require (config:WorldConfig):Void