Files
Ragon/Game/Source/GameFactory.cs
T

17 lines
410 B
C#
Raw Normal View History

2022-05-08 00:40:11 +04:00
using System.Runtime.InteropServices;
2022-04-30 08:20:17 +04:00
using Ragon.Core;
namespace Game.Source
{
public class GameFactory : PluginFactory
{
public string PluginName { get; set; } = "ExamplePlugin";
2022-05-01 15:48:53 +04:00
public PluginBase CreatePlugin(string map)
{
2022-05-08 00:40:11 +04:00
2022-05-01 15:48:53 +04:00
return 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
}
}