tModLoader v2024.11
A mod to make and play Terraria mods
MinimapFrame Class Reference

Inherits IConfigKeyHolder.

Public Member Functions

 MinimapFrame (Asset< Texture2D > frameTexture, Vector2 frameOffset)
 
void DrawBackground (SpriteBatch spriteBatch)
 
void DrawForeground (SpriteBatch spriteBatch)
 
void SetResetButton (Asset< Texture2D > hoverTexture, Vector2 position)
 
void SetZoomInButton (Asset< Texture2D > hoverTexture, Vector2 position)
 
void SetZoomOutButton (Asset< Texture2D > hoverTexture, Vector2 position)
 
void Update ()
 

Properties

string ConfigKey [get, set]
 
Vector2 MinimapPosition [get, set]
 
string NameKey [get, set]
 
- Properties inherited from IConfigKeyHolder
string ConfigKey [get]
 
string NameKey [get]
 

Property Documentation

◆ ConfigKey

string MinimapFrame.ConfigKey
getset

Implements IConfigKeyHolder.

◆ NameKey

string MinimapFrame.NameKey
getset

Implements IConfigKeyHolder.