1using Microsoft.Xna.Framework;
 
    3using Terraria.Localization;
 
    7    internal struct MapEntry
 
   10        internal LocalizedText name;
 
   11        internal ModTranslation translation;
 
   12        internal Func<string, int, int, string> getName;
 
   14        internal MapEntry(Color color, LocalizedText name = 
null) {
 
   16                name = LocalizedText.Empty;
 
   20            this.translation = 
null;
 
   21            this.getName = sameName;
 
   24        internal MapEntry(Color color, ModTranslation name) {
 
   27            this.translation = name;
 
   28            this.getName = sameName;
 
   31        internal MapEntry(Color color, LocalizedText name, Func<string, int, int, string> getName) {
 
   34            this.translation = 
null;
 
   35            this.getName = getName;
 
   38        internal MapEntry(Color color, ModTranslation name, Func<string, int, int, string> getName) {
 
   41            this.translation = name;
 
   42            this.getName = getName;
 
   45        private static string sameName(
string name, 
int x, 
int y) {