Add ModuleWheelsManager for configurable wheel torque settings

This commit is contained in:
2025-02-24 10:14:40 +01:00
parent dbeb55e2aa
commit 708607b2f5
4 changed files with 57 additions and 2 deletions

View File

@@ -323,8 +323,7 @@ namespace TerraTech {
/// Manages a collection of objects whose fields can be multiplied
/// </summary>
/// <typeparam name="T">The type of objects being managed</typeparam>
public class MultipliedObjectManager<T>
where T : class {
public class MultipliedObjectManager<T> {
private readonly Dictionary<T, MultipliedObject<T>> _managedObjects;
private readonly Action<MultipliedObject<T>> _configureObject;