public Build(Gothic gothic) : base(gothic) { compilingAssetsWatcher.OnFileCompile = (compilingFile) => { if (compilingFile.Contains("CAMERA.DAT")) { gothic.EndProcess(); } }; }
public Compile(Gothic gothic, CompileMode compileMode) : base(gothic) { Mode = compileMode; compilingAssetsWatcher.OnFileCompile = (compilingFile) => { if (compilingFile.Contains("MENU.DAT")) { gothic.EndProcess(); } }; }
public Test(Gothic gothic, TestMode testMode) : base(gothic) { Mode = testMode; compilingAssetsWatcher.OnFileCompile = (compilingFile) => { if (compilingFile.Contains("MENU.DAT")) { if ((Mode == TestMode.Full && (assetsCompiled == false))) { gothic.EndProcess(); } } }; }