/* Heathtech */ public Texture GetLiquid(int num) { if (!Liquids.ContainsKey(num)) { string name = $"Images\\Liquid_{num}"; Liquids[num] = LoadTexture(name); } return(Liquids[num]); }
/* Heathtech */ public Texture GetLiquid(int num) { if (!Liquids.ContainsKey(num)) { string name = String.Format("Images\\Liquid_{0}", num); Liquids[num] = LoadTexture(name); } return(Liquids[num]); }