TigerEmu/Game/Navigator/NavigatorManager.cs

13 lines
344 B
C#
Raw Permalink Normal View History

2023-10-14 20:32:12 +00:00
using Tiger.Game.Navigator.Views;
namespace Tiger.Game.Navigator;
public class NavigatorManager : INavigatorManager
{
public IDictionary<string, INavigatorView> NavigatorViews { get; }
public NavigatorManager(IEnumerable<INavigatorView> navigatorViews)
{
NavigatorViews = navigatorViews.ToDictionary(n => n.Code);
}
}