Beispiel #1
0
 public Texture GetArmorBody(int num)
 {
     if (!ArmorBody.ContainsKey(num))
     {
         string name = $"Images\\Armor_Body_{num}";
         ArmorBody[num] = LoadTexture(name);
     }
     return(ArmorBody[num]);
 }
 public Texture GetArmorBody(int num)
 {
     if (!ArmorBody.ContainsKey(num))
     {
         string name = String.Format("Images\\Armor_Body_{0}", num);
         ArmorBody[num] = LoadTexture(name);
     }
     return(ArmorBody[num]);
 }