Fix texture stuff
This commit is contained in:
18
Zennysoft.Game.Ma.Implementation/Module/Module.cs
Normal file
18
Zennysoft.Game.Ma.Implementation/Module/Module.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using SimpleInjector;
|
||||
using System.IO.Abstractions;
|
||||
using Zennysoft.Game.Abstractions;
|
||||
using Zennysoft.Game.Implementation;
|
||||
|
||||
namespace Zennysoft.Ma.Adapter;
|
||||
|
||||
public class Module
|
||||
{
|
||||
public static void Bootstrap(Container container)
|
||||
{
|
||||
container.RegisterSingleton<IFileSystem, FileSystem>();
|
||||
container.RegisterSingleton<ISaveFileManager<GameData>, SaveFileManager<GameData>>();
|
||||
container.RegisterSingleton<IMaSaveFileManager<GameData>, MaSaveFileManager<GameData>>();
|
||||
container.Register<IGameRepo, GameRepo>(Lifestyle.Singleton);
|
||||
container.Register<IGameLogic, GameLogic>(Lifestyle.Singleton);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user