Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
HorizontalBarsPlayerResourcesDisplaySet (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 | PrepareFields (Player player) |
void | LifePanelDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
void | ManaPanelDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
void | LifeFillingDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
void | ManaFillingDrawer (int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > sprite, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
Static Private Member Functions | |
static void | DrawManaText (SpriteBatch spriteBatch) |
static void | DrawLifeBarText (SpriteBatch spriteBatch, Vector2 topLeftAnchor) |
static void | FillBarByValues (int elementIndex, Asset< Texture2D > sprite, int segmentsCount, float fillPercent, out Vector2 offset, out float drawScale, out Rectangle? sourceRect) |
Private Attributes | |
int | _maxSegmentCount |
int | _hpSegmentsCount |
int | _mpSegmentsCount |
int | _hpFruitCount |
float | _hpPercent |
float | _mpPercent |
byte | _drawTextStyle |
bool | _hpHovered |
bool | _mpHovered |
Asset< Texture2D > | _hpFill |
Asset< Texture2D > | _hpFillHoney |
Asset< Texture2D > | _mpFill |
Asset< Texture2D > | _panelLeft |
Asset< Texture2D > | _panelMiddleHP |
Asset< Texture2D > | _panelRightHP |
Asset< Texture2D > | _panelMiddleMP |
Asset< Texture2D > | _panelRightMP |
Definition at line 9 of file HorizontalBarsPlayerResourcesDisplaySet.cs.