Exemplo n.º 1
0
        public Module(IPlatformModuleLoader loader, IStartInfo startInfo)
        {
            SetupResourceMap();

            StartInfo = startInfo;
            Loader    = loader;

            Loader.Prepare();
        }
Exemplo n.º 2
0
        public Module(string modulePath, IPlatformModuleLoader loader, IStartInfo startInfo)
        {
            SetupResourceMap();

            StartInfo = startInfo;
            Loader    = loader;

            Loader.Prepare(modulePath);

            LoadResFile();
            LoadModuleHeader();
            SetupDatabase();
        }
Exemplo n.º 3
0
 public Game1(IPlatformModuleLoader loader, ISQLitePlatform dbPlatform)
 {
     _graphics             = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
 }