tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
IMapLayer Interface Reference

Inherited by ModMapLayer, PingMapLayer, SpawnMapLayer, and TeleportPylonsMapLayer.

Public Member Functions

void Draw (ref MapOverlayDrawContext context, ref string text)
 
void Hide ()
 

Properties

static IMapLayer Pings = new PingMapLayer() [get]
 
static IMapLayer Pylons = new TeleportPylonsMapLayer() [get]
 
static IMapLayer Spawn = new SpawnMapLayer() [get]
 
bool Visible [get, set]
 

Member Function Documentation

◆ Draw()

void IMapLayer.Draw ( ref MapOverlayDrawContext  context,
ref string  text 
)

Implemented in ModMapLayer.