public static GuppyLoader ConfigureMonoGame(this GuppyLoader loader, GraphicsDeviceManager graphics, ContentManager content, GameWindow window) { loader.Services.RegisterSingleton <GraphicsDeviceManager>(graphics); loader.Services.RegisterSingleton <ContentManager>(content); loader.Services.RegisterSingleton <GameWindow>(window); loader.Services.RegisterSingleton <GraphicsDevice>(graphics.GraphicsDevice); loader.RegisterServiceLoader(new MonoGameServiceLoader()); return(loader); }
public static GuppyLoader ConfigureTerminal(this GuppyLoader guppy) { guppy.RegisterServiceLoader(new TerminalServiceLoader()); return(guppy); }