Files
Ragon/Game/Source/GameFactory.cs
T

11 lines
342 B
C#
Raw Normal View History

2022-04-30 08:20:17 +04:00
using Ragon.Core;
namespace Game.Source
{
public class GameFactory : PluginFactory
{
public string PluginName { get; set; } = "ExamplePlugin";
public PluginBase CreatePlugin(string map) => new ExamplePlugin();
2022-04-30 23:11:48 +04:00
public AuthorizationManager CreateManager(Configuration configuration) => new GameAuthorizer(configuration);
2022-04-30 08:20:17 +04:00
}
}