public override void MouseOver(int tX, int tY) { int logic = GetTileLogic(tX, tY); int itemIcon = dropItem; switch (logic) { case ItemID.PiggyBank: itemIcon = ItemID.PiggyBank; break; case ItemID.Safe: itemIcon = ItemID.Safe; break; case ItemID.GPS: itemIcon = ItemID.DepthMeter; break; } TileUtils.ShowItemIcon(tX, tY, itemIcon); }
public override void MouseOver(int tX, int tY) { TileUtils.ShowItemIcon(tX, tY, GetItemTypeFromStyle(Main.tile[tX, tY].frameY)); }
public override void MouseOver(int tX, int tY) { TileUtils.ShowItemIcon(tX, tY, dropItem); }