private void Tablet2Clicked(UIMouseEvent evt, UIElement listeningElement) { Main.NewText("Test Cursor"); IncPlayer ic = Main.player[Main.myPlayer].GetModPlayer <IncPlayer>(); ic.magicCursor = !ic.magicCursor; }
public override void Update(GameTime gameTime) { base.Update(gameTime); if (tabletKill.IsMouseHovering) { Main.hoverItemName = "Hostile Entity Butcher"; } if (tabletMove.IsMouseHovering) { IncPlayer ic = Main.player[Main.myPlayer].GetModPlayer <IncPlayer>(); string hover = ic.magicCursor ? "Disable Magic Cursor" : "Enable Magic Cursor"; Main.hoverItemName = hover; } }