private static void InterpretCommandLineArgs() { if (Environment.CommandLine.Contains("/BuildContentList")) { CContentManager.BuildContentList(); } if (Environment.CommandLine.Contains("/BuildSpriteFonts")) { new CTtfToBmpConverter().Convert(); } }
public void QueueLoadCommand(CContentManager instance, String command, List <String> commands) { sCommands.Add(new Command(instance, command, commands)); Console.WriteLine("added command " + command + " to loadcommands"); }
public Command(CContentManager instance, String method, List <String> paramList) { Instance = instance; MethodName = method; Params = paramList; }
//=> new DirectoryInfo(Path.Combine(new FileInfo(typeof(CSoundDirectory).Assembly.Location).Directory.FullName, "Content")); public static string TrimBaseDirectory(FileInfo aFileInfo) => CContentManager.TrimBaseDirectory(aFileInfo);
protected static DirectoryInfo GetBaseDirectoryInfo() => CContentManager.GetBaseDirectoryInfo();