public string GetPathString(KnownPath path) { switch (path) { case KnownPath.GameDirectory: { return(GameDirectoryPath); } case KnownPath.GameMapsDirectory: { return(GameMapsDirectoryPath); } case KnownPath.GameTexturesDirectory: { return(GameTexturesDirectoryPath); } case KnownPath.MapSourceFile: { return(MapSourceFilePath); } case KnownPath.MapSourceDirectory: { return(MapSourceDirectoryPath); } case KnownPath.MapCompileDirectory: { return(MapCompileDirectoryPath); } case KnownPath.MapIntermediateFile: { return(MapIntermediateFilePath); } case KnownPath.MapOutputFile: { return(MapOutputFilePath); } default: { throw new ArgumentOutOfRangeException(); } } }
public KnownPathCompileToolArgument(KnownPath path) { Path = path; }