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