Esempio n. 1
0
        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();
            }
            }
        }
Esempio n. 2
0
 public KnownPathCompileToolArgument(KnownPath path)
 {
     Path = path;
 }