# Conflicts: # Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs
20 lines
760 B
C#
20 lines
760 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DDD
|
|
{
|
|
public class RestaurantManagementSolver : RestaurantSubsystemSolver<RestaurantManagementType>
|
|
{
|
|
|
|
private Dictionary<RestaurantManagementType, Type> _typeToManagementSolver = new()
|
|
{
|
|
{ RestaurantManagementType.OpenRestaurantMenu, typeof(RestaurantManagementSolver_Menu) },
|
|
{ RestaurantManagementType.StartRestaurant, typeof(RestaurantManagementSolver_Start) },
|
|
{ RestaurantManagementType.OpenCookUi, typeof(RestaurantManagementSolver_Cook) },
|
|
};
|
|
protected override Dictionary<RestaurantManagementType, Type> GetSubsystemSolverTypeMappings()
|
|
{
|
|
return _typeToManagementSolver;
|
|
}
|
|
}
|
|
} |