EngineState

Undocumented in source.

Members

Functions

addInstance
StateSystemMapping addInstance(T system_a)

Creates a mapping for the System type to a specific System instance. A SystemInstanceProvider is used for the mapping.

addMethod
StateSystemMapping addMethod(T delegate() method_a)

Creates a mapping for the System type to a method call. The method should return a System instance. A DynamicSystemProvider is used for the mapping.

addProvider
StateSystemMapping addProvider(ISystemProvider provider_a, ClassInfo class_a)

Adds any SystemProvider.

addSingleton
StateSystemMapping addSingleton(ClassInfo type_a)

Creates a mapping for the System type to a single instance of the provided type. The instance is not created until it is first requested. The type should be the same as or extend the type for this mapping. A SystemSingletonProvider is used for the mapping.

providers
ISystemProvider[ClassInfo] providers()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta