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

Public Member Functions

void ClearPointers ()
 
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]