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

Inheritance: UIPanel
显示文件 Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
CompareTo ( object obj ) : int
GetAchievement ( ) : Achievement
MouseOut ( UIMouseEvent evt ) : void
MouseOver ( UIMouseEvent evt ) : void
UIAchievementListItem ( Achievement achievement ) : Microsoft.Xna.Framework

Protected Methods

Method Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Private Methods

Method Description
DrawPanelBottom ( SpriteBatch spriteBatch, Vector2 position, float width, Color color ) : void
DrawPanelTop ( SpriteBatch spriteBatch, Vector2 position, float width, Color color ) : void
DrawProgressBar ( SpriteBatch spriteBatch, float progress, Vector2 spot, float Width = 169f, Color BackColor = default(Color), Color FillingColor = default(Color), Color BlipColor = default(Color) ) : void
GetTrackerValues ( ) : Decimal>.Tuple
UpdateIconFrame ( ) : void

Method Details

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

DrawSelf() protected method

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

GetAchievement() public method

public GetAchievement ( ) : Achievement
return Achievement

MouseOut() public method

public MouseOut ( UIMouseEvent evt ) : void
evt Terraria.UI.UIMouseEvent
return void

MouseOver() public method

public MouseOver ( UIMouseEvent evt ) : void
evt Terraria.UI.UIMouseEvent
return void

UIAchievementListItem() public method

public UIAchievementListItem ( Achievement achievement ) : Microsoft.Xna.Framework
achievement Achievement
return Microsoft.Xna.Framework