Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals()

bool Terraria.Map.MapTile.Equals ( ref MapTile other)
inline

Definition at line 49 of file MapTile.cs.

50 {
51 if (Light == other.Light && Type == other.Type)
52 {
53 return Color == other.Color;
54 }
55 return false;
56 }

References Terraria.Map.MapTile.Color, and Terraria.Map.MapTile.Type.

Referenced by Terraria.Map.MapHelper.InternalSaveMap(), Terraria.Map.WorldMap.UpdateLighting(), and Terraria.Map.WorldMap.UpdateType().