Method | Description | |
---|---|---|
GameModule ( Game game ) : System |
Constructor
|
|
GetConfiguration ( ) : IEnumerable |
Gets configuration as collection of KeyData. Derived classes can replace this to customize what to save into configuration.
|
|
GetConfigurationProperties ( ) : IEnumerable |
Gets all properties marked with ConfigAttribute.
|
|
GetConfigurationProperty ( string name ) : |
Gets all properties marked with ConfigAttribute.
|
|
Initialize ( ) : void |
Intializes module.
|
|
Invoke ( System.Action action ) : void |
Pushes action to the invoke queue.
|
|
SetConfiguration ( IEnumerable |
Sets module configuration from collection of KeyData. Derived classes can replace this to customize how to load configuration.
|
Method | Description | |
---|---|---|
Dispatch ( ) : void |
Calls all actions pushed to invoke queue.
|
Method | Description | |
---|---|---|
DisposeAll ( object rootObj ) : void |
Calls 'Initialize' method on all services starting from top one tree.
|
|
Enumerate ( object rootObj ) : IEnumerable |
Enumerates all modules and submodules in BFS order.
|
|
GetModuleBindings ( object parentModule ) : IEnumerable |
Gets module binding for each module declared in parentModule.
|
|
InitRecursive ( ModuleBinding root, string prefix ) : void |
Perform recursive module initialization.
|
|
InitializeAll ( object rootObj ) : void |
Calls 'Initialize' method on all modules starting from top one tree.
|
|
PrintModuleNames ( ) : void |
Prints module names.
|
|
VerifyServiceThread ( ) : void |
|
public GetConfigurationProperties ( ) : IEnumerable |
||
return | IEnumerable |
public GetConfigurationProperty ( string name ) : |
||
name | string | |
return |
public Invoke ( System.Action action ) : void | ||
action | System.Action | |
return | void |
public SetConfiguration ( IEnumerable |
||
configuration | IEnumerable |
|
return | void |