23 lines
799 B
C#
23 lines
799 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using DDD.RestaurantOrders;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace DDD
|
||
|
{
|
||
|
public static class RestaurantManagementSolvers
|
||
|
{
|
||
|
public static Dictionary<RestaurantManagementType, Type> TypeToManagementSolver = new()
|
||
|
{
|
||
|
{ RestaurantManagementType.OpenRestaurantMenu, typeof(RestaurantManagementSolver_Menu) },
|
||
|
{ RestaurantManagementType.StartRestaurant, typeof(RestaurantManagementSolver_Start) }
|
||
|
};
|
||
|
}
|
||
|
public class RestaurantManagementSolver : RestaurantSubsystemSolver<RestaurantManagementType>
|
||
|
{
|
||
|
protected override Dictionary<RestaurantManagementType, Type> GetSubsystemSolverTypeMappings()
|
||
|
{
|
||
|
return RestaurantManagementSolvers.TypeToManagementSolver;
|
||
|
}
|
||
|
}
|
||
|
}
|