Beispiel #1
0
        public static string GetResourcePath(ResourceFamily family)
        {
            var outPath = Path.Combine(Application.StartupPath, "resources");

            switch (family)
            {
            case ResourceFamily.Builder:
                outPath = Path.Combine(outPath, "builder");
                break;
            }
            return(outPath);
        }
Beispiel #2
0
        public static string GetResourceFile(ResourceFamily family, string filename)
        {
            var outPath = GetResourcePath(family);

            return(Path.Combine(outPath, filename));
        }
Beispiel #3
0
 public ResourceDepositDefinition()
 {
     this.indestructibleField = false;
     this.familyField         = ResourceFamily.None;
 }