C# Class Terraria.GameContent.UI.Elements.UIGenProgressBar

Inheritance: Terraria.UI.UIElement
Show file Open project: EmuDevs/EDTerraria

Public Methods

Method Description
Recalculate ( ) : void
SetProgress ( float overallProgress, float currentProgress ) : void
UIGenProgressBar ( ) : Microsoft.Xna.Framework

Protected Methods

Method Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Private Methods

Method Description
DrawFilling ( SpriteBatch spritebatch, Texture2D tex, Texture2D texShadow, Vector2 topLeft, int completedWidth, int totalWidth, Color separator, Color empty ) : void
DrawFilling2 ( SpriteBatch spritebatch, Vector2 topLeft, int height, int completedWidth, int totalWidth, Color filled, Color separator, Color empty ) : void

Method Details

DrawSelf() protected method

protected DrawSelf ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Recalculate() public method

public Recalculate ( ) : void
return void

SetProgress() public method

public SetProgress ( float overallProgress, float currentProgress ) : void
overallProgress float
currentProgress float
return void

UIGenProgressBar() public method

public UIGenProgressBar ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework