tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Bestiary.CustomEntryIcon Class Reference

Inherits Terraria.GameContent.Bestiary.IEntryIcon.

Public Member Functions

 CustomEntryIcon (string nameLanguageKey, string texturePath, Func< bool > unlockCondition)
 
IEntryIcon CreateClone ()
 
void Draw (BestiaryUICollectionInfo providedInfo, SpriteBatch spriteBatch, EntryIconDrawSettings settings)
 
string GetHoverText (BestiaryUICollectionInfo providedInfo)
 
bool GetUnlockState (BestiaryUICollectionInfo providedInfo)
 
void Update (BestiaryUICollectionInfo providedInfo, Rectangle hitbox, EntryIconDrawSettings settings)