Exemple #1
0
 public AndroidPlatform(AssetManager assetManager)
 {
     StreamProvider           = new AndroidStreamProvider(assetManager);
     FileExtensionReplacement = new Dictionary <string, string>
     {
         { ".fx", ".ogl" }
     };
     Audio = new DummyAudio();
 }
Exemple #2
0
 public DesktopPlatform()
 {
     StreamProvider = new FileSystemStreamProvider(
         "content\\",
         Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "PhotoVs"));
     FileExtensionReplacement = new Dictionary <string, string>
     {
         { ".fx", ".ogl" }
     };
     Audio = new DummyAudio();
 }