Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
MapIconOverlay.cs
Go to the documentation of this file.
3
4namespace Terraria.Map;
5
6public class MapIconOverlay
7{
8 private readonly List<IMapLayer> _layers = new List<IMapLayer>();
9
11 {
13 return this;
14 }
15
17 {
19 foreach (IMapLayer layer in _layers)
20 {
21 layer.Draw(ref context, ref text);
22 }
23 }
24}
void Add(TKey key, TValue value)
readonly List< IMapLayer > _layers
MapIconOverlay AddLayer(IMapLayer layer)
void Draw(Vector2 mapPosition, Vector2 mapOffset, Rectangle? clippingRect, float mapScale, float drawScale, ref string text)