Skip to content

Class LemonUI::TimerBars::TimerBarObjective

ClassList > LemonUI > TimerBars > TimerBarObjective

A timer bar for a specific amount of objectives.

Inherits the following classes: LemonUI::TimerBars::TimerBar

Public Properties

Type Name
property int Completed
The number of completed objectives.
property Color CompletedColor
The color used for completed objectives.
property int Count
The number of objectives shown in the timer bar.
property ObjectiveSpacing Spacing
The type of spacing between the objectives .

Public Properties inherited from LemonUI::TimerBars::TimerBar

See LemonUI::TimerBars::TimerBar

Type Name
property Color Color
The color of the information text.
property string?? Info
The information shown on the right.
property float InfoWidth
The Width of the information text.
property string?? Title
The title of the bar, shown on the left.

Public Functions

Type Name
virtual override void Draw ()
Draws the objective timer bar.
virtual override void Recalculate (PointF pos)
Recalculates the position of the timer bar elements based on the location of it on the screen.

__ | | | TimerBarObjective (string title)
Creates a new timer bar used to show objectives. |

Public Functions inherited from LemonUI::TimerBars::TimerBar

See LemonUI::TimerBars::TimerBar

Type Name
virtual void Draw ()
Draws the timer bar information.
virtual void Recalculate (PointF pos)
Recalculates the position of the timer bar elements based on the location of it on the screen.
TimerBar (string title, string info)
Creates a new TimerBar with the specified Title and Value.

Public Functions inherited from LemonUI::IDrawable

See LemonUI::IDrawable

Type Name
void Draw ()
Draws the item on the screen.

Public Properties Documentation

property Completed

int LemonUI.TimerBars.TimerBarObjective.Completed;

property CompletedColor

Color LemonUI.TimerBars.TimerBarObjective.CompletedColor;

property Count

int LemonUI.TimerBars.TimerBarObjective.Count;

property Spacing

ObjectiveSpacing LemonUI.TimerBars.TimerBarObjective.Spacing;

Public Functions Documentation

function Draw

inline virtual override void LemonUI::TimerBars::TimerBarObjective::Draw () 

Implements LemonUI::TimerBars::TimerBar::Draw

function Recalculate

inline virtual override void LemonUI::TimerBars::TimerBarObjective::Recalculate (
    PointF pos
) 

Implements LemonUI::TimerBars::TimerBar::Recalculate

function TimerBarObjective

Creates a new timer bar used to show objectives.

inline LemonUI::TimerBars::TimerBarObjective::TimerBarObjective (
    string title
) 

Parameters:

  • title The title of the objective bar.

The documentation for this class was generated from the following file repos/LemonUI/LemonUI/TimerBars/TimerBarObjective.cs