public Texture2D GetUnderworld(int num) { if (!Underworld.ContainsKey(num)) { string name = $"Images\\Backgrounds\\Underworld {num}"; Underworld[num] = LoadTexture(name); } return(Underworld[num]); }
public Texture2D GetUnderworld(int num) { if (!Underworld.ContainsKey(num)) { string name = String.Format("Images\\Backgrounds\\Underworld {0}", num); Underworld[num] = LoadTexture(name); } return(Underworld[num]); }