ProjectDDD/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs

18 lines
602 B
C#

using System;
using System.Collections.Generic;
namespace DDD
{
public class RestaurantMealSolver : RestaurantSubsystemSolver<RestaurantMealType>
{
private Dictionary<RestaurantMealType, Type> _typeToMealSolver = new()
{
{ RestaurantMealType.WaitForOrder, typeof(RestaurantMealSolver_WaitForOrder) },
{ RestaurantMealType.WaitForServe, typeof(RestaurantMealSolver_WaitForServe) }
};
protected override Dictionary<RestaurantMealType, Type> GetSubsystemSolverTypeMappings()
{
return _typeToMealSolver;
}
}
}