Class ModuleManager<T extends Time>
java.lang.Object
dev.engine.core.module.ModuleManager<T>
- Type Parameters:
T- the update context type passed to modules
Central manager responsible for the lifecycle and update orchestration of
Module instances.
Modules are registered via add(Module), which validates dependencies,
updates the internal DependencyGraph, and runs the create/init lifecycle.
Each tick(double) or
call fans out to all enabled
modules in dependency-safe parallel levels using the configured invalid reference
#update(Object)Executor.
-
Constructor Details
-
ModuleManager
-
-
Method Details
-
add
-
remove
-
shutdown
public void shutdown() -
getModule
-
hasModule
-
getModules
-
tick
public void tick(double elapsedSeconds) -
update
-