ProjectDDD/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs

21 lines
712 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using DDD.RestaurantOrders;
using UnityEngine;
namespace DDD
{
public class RestaurantManagementSolver : RestaurantSubsystemSolver<RestaurantManagementType>
{
private Dictionary<RestaurantManagementType, Type> _typeToManagementSolver = new()
{
{ RestaurantManagementType.OpenRestaurantMenu, typeof(RestaurantManagementSolver_Menu) },
{ RestaurantManagementType.StartRestaurant, typeof(RestaurantManagementSolver_Start) }
};
protected override Dictionary<RestaurantManagementType, Type> GetSubsystemSolverTypeMappings()
{
return _typeToManagementSolver;
}
}
}