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