Свойство | Тип | Описание | |
---|---|---|---|
category | int | ||
inBar | bool | ||
leftHover | int | ||
leftScale | float[] | ||
noSound | bool | ||
notBar | bool | ||
oldLeftHover | int | ||
oldRightHover | int | ||
rightHover | int | ||
rightLock | int | ||
rightScale | float[] | ||
valuePosition | Vector2 |
Метод | Описание | |
---|---|---|
Close ( ) : void | ||
Draw ( Terraria.Main mainInstance, SpriteBatch sb ) : void | ||
DrawLeftSide ( SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scales, float minscale = 0.7f, float maxscale = 0.8f, float scalespeed = 0.01f ) : bool | ||
DrawRightSide ( SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scale, float colorScale, Color over = default(Color) ) : bool | ||
DrawValue ( SpriteBatch sb, string txt, int i, float scale, Color over = default(Color) ) : bool | ||
DrawValueBar ( SpriteBatch sb, float scale, float perc ) : float | ||
MouseOver ( ) : void | ||
Open ( ) : void |
public static Draw ( Terraria.Main mainInstance, SpriteBatch sb ) : void | ||
mainInstance | Terraria.Main | |
sb | SpriteBatch | |
Результат | void |
public static DrawLeftSide ( SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scales, float minscale = 0.7f, float maxscale = 0.8f, float scalespeed = 0.01f ) : bool | ||
sb | SpriteBatch | |
txt | string | |
i | int | |
anchor | Vector2 | |
offset | Vector2 | |
scales | float | |
minscale | float | |
maxscale | float | |
scalespeed | float | |
Результат | bool |
public static DrawRightSide ( SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scale, float colorScale, Color over = default(Color) ) : bool | ||
sb | SpriteBatch | |
txt | string | |
i | int | |
anchor | Vector2 | |
offset | Vector2 | |
scale | float | |
colorScale | float | |
over | Color | |
Результат | bool |
public static DrawValue ( SpriteBatch sb, string txt, int i, float scale, Color over = default(Color) ) : bool | ||
sb | SpriteBatch | |
txt | string | |
i | int | |
scale | float | |
over | Color | |
Результат | bool |
public static DrawValueBar ( SpriteBatch sb, float scale, float perc ) : float | ||
sb | SpriteBatch | |
scale | float | |
perc | float | |
Результат | float |