Exemplo n.º 1
0
 public static string[] GetSongNames()
 {
     return(new[] {
         AssetResolver.ResolveAsset(ModuleName, "alien_technology.mp3"),
         AssetResolver.ResolveAsset(ModuleName, "summer_shade.mp3")
     });
 }
Exemplo n.º 2
0
 protected string ResolveAsset(string modName, string assetName)
 {
     if (GetType().IsSubclassOf(typeof(Tanks.Tank)))
     {
         return(AssetResolver.ResolveAsset(modName, assetName, ((Tanks.Tank) this).Player));
     }
     return(AssetResolver.ResolveAsset(modName, assetName));
 }