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); }
public static string GetResourceFile(ResourceFamily family, string filename) { var outPath = GetResourcePath(family); return(Path.Combine(outPath, filename)); }
public ResourceDepositDefinition() { this.indestructibleField = false; this.familyField = ResourceFamily.None; }