using System; using System.Collections.Generic; using DDD.RestaurantOrders; using UnityEngine; namespace DDD { public static class RestaurantOrderSolvers { public static Dictionary TypeToOrderSolver = new() { { RestaurantOrderType.Wait, typeof(RestaurantOrderSolver_Wait) }, { RestaurantOrderType.Reserved, typeof(RestaurantOrderSolver_Reserved) }, { RestaurantOrderType.Order, typeof(RestaurantOrderSolver_Order) }, { RestaurantOrderType.Serve, typeof(RestaurantOrderSolver_Serve) }, { RestaurantOrderType.Busy, typeof(RestaurantOrderSolver_Busy) }, { RestaurantOrderType.Dirty, typeof(RestaurantOrderSolver_Dirty) } }; } public class RestaurantOrderSolver : RestaurantSubsystemSolver { protected override Dictionary GetSubsystemSolverTypeMappings() { return RestaurantOrderSolvers.TypeToOrderSolver; } } }