Ejemplo n.º 1
0
 /// <summary>
 /// Returns the localized name of the fish for the given type.
 /// </summary>
 private string GetName(FishSize size, FishRarity rarity, FishModifier modifier)
 {
     return(String.Format(Resources.FishName,
                          Resources.ResourceManager.GetString(modifier.ToString(), Resources.Culture),
                          Resources.ResourceManager.GetString(size.ToString() + rarity.ToString(), Resources.Culture),
                          Resources.ResourceManager.GetString(rarity.ToString(), Resources.Culture)));
 }