tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.UI.UserInterface Class Reference

Public Member Functions

void Draw (SpriteBatch spriteBatch, GameTime time)
 
void DrawDebugHitbox (BasicDebugDrawer drawer)
 
void EscapeElements ()
 
CalculatedStyle GetDimensions ()
 
void GoBack ()
 
bool IsElementUnderMouse ()
 
void Recalculate ()
 
void ResetLasts ()
 
void SetState (UIState state)
 
void Update (GameTime time)
 
void Use ()
 

Public Attributes

bool IsVisible
 
Vector2 MousePosition
 

Static Public Attributes

static UserInterface ActiveInstance = new UserInterface()
 

Properties

UIState CurrentState [get]