Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
FancyClassicPlayerResourcesDisplaySet (string nameKey, string configKey, string resourceFolderName, AssetRequestMode mode) | |
void | Draw () |
void | TryToHover () |
Properties | |
string | NameKey [get, private set] |
string | ConfigKey [get, private set] |
Private Member Functions | |
void | DrawLifeBar (SpriteBatch spriteBatch) |
void | DrawManaBar (SpriteBatch spriteBatch) |
void | HeartPanelDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
void | HeartFillingDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
void | StarPanelDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
void | StarFillingDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
void | PrepareFields (Player player) |
Static Private Member Functions | |
static void | DrawLifeBarText (SpriteBatch spriteBatch, Vector2 topLeftAnchor) |
static void | DrawManaText (SpriteBatch spriteBatch) |
Private Attributes | |
float | _currentPlayerLife |
float | _lifePerHeart |
int | _playerLifeFruitCount |
int | _lastHeartFillingIndex |
int | _lastHeartPanelIndex |
int | _heartCountRow1 |
int | _heartCountRow2 |
int | _starCount |
int | _lastStarFillingIndex |
float | _manaPerStar |
float | _currentPlayerMana |
Asset< Texture2D > | _heartLeft |
Asset< Texture2D > | _heartMiddle |
Asset< Texture2D > | _heartRight |
Asset< Texture2D > | _heartRightFancy |
Asset< Texture2D > | _heartFill |
Asset< Texture2D > | _heartFillHoney |
Asset< Texture2D > | _heartSingleFancy |
Asset< Texture2D > | _starTop |
Asset< Texture2D > | _starMiddle |
Asset< Texture2D > | _starBottom |
Asset< Texture2D > | _starSingle |
Asset< Texture2D > | _starFill |
bool | _hoverLife |
bool | _hoverMana |
bool | _drawText |
Definition at line 9 of file FancyClassicPlayerResourcesDisplaySet.cs.