Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UseMouseOver()

void Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker.UseMouseOver ( SpriteBatch spriteBatch,
ref string mouseTextString,
float drawScale = 1f )
inline

Definition at line 269 of file CoinLossRevengeSystem.cs.

270 {
271 mouseTextString = "";
272 Vector2 vector = Main.MouseScreen / drawScale + new Vector2(-28f) + new Vector2(4f, 0f);
273 ItemSlot.DrawMoney(spriteBatch, "", vector.X, vector.Y, Utils.CoinsSplit(_coinsValue), horizontal: true);
274 }
static void DrawMoney(SpriteBatch sb, string text, float shopx, float shopy, int[] coinsArray, bool horizontal=false)
Definition ItemSlot.cs:2829

References Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker._coinsValue, Terraria.Utils.CoinsSplit(), Terraria.UI.ItemSlot.DrawMoney(), and Microsoft.Xna.Framework.Graphics.Vector2.