You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Base interface for all modules, IModuleFactory requires modules inherit from this.
8
-
/// General module usage pattern is:
9
-
/// RAII. All initialization is done through the constructor. After a constructor is run the module should be fully usable.
10
-
/// UpdateModules should be called at regular intervals. The order of module updates should be controlled by the caller to ensure all dependencies have already been updated.
11
-
/// Pass in dependencies through the constructor IOC like.
12
-
/// </summary>
6
+
/// <summary>
7
+
/// Base interface for all modules, IModuleFactory requires modules inherit from this.
8
+
/// General module usage pattern is:
9
+
/// RAII. All initialization is done through the constructor. After a constructor is run the module should be fully usable.
10
+
/// UpdateModules should be called at regular intervals. The order of module updates should be controlled by the caller to ensure all dependencies have already been updated.
11
+
/// Pass in dependencies through the constructor IOC like.
12
+
/// </summary>
13
13
publicinterfaceIModule
14
-
{
15
-
/// <summary>
16
-
/// Should be called at a regular interval. The order of module updates should be controlled by the caller to ensure all dependencies have already been updated.
17
-
/// </summary>
18
-
voidUpdateModule();
19
-
}
20
-
}
14
+
{/// <summary>
15
+
/// Should be called at a regular interval. The order of module updates should be controlled by the caller to ensure all dependencies have already been updated.
16
+
/// </summary>
17
+
/// <param name="delta">Pass in a deltaTime calculated in parent update, if you want to pass that into underlying update event, so thay you don't need to query it within the method</param>
0 commit comments