Class CooldownGraphic
Inheritance
System.Object
Robust.Client.UserInterface.Control
CooldownGraphic
Namespace: Content.Client.Cooldown
Assembly: Content.Client.dll
Syntax
public sealed class CooldownGraphic : Control
Constructors
| Improve this Doc View SourceCooldownGraphic()
Declaration
public CooldownGraphic()
Properties
| Improve this Doc View SourceProgress
Progress of the cooldown animation. Possible values range from 1 to -1, where 1 to 0 is a depleting circle animation and 0 to -1 is a blink animation.
Declaration
public float Progress { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceDraw(DrawingHandleScreen)
Declaration
protected override void Draw(DrawingHandleScreen handle)
Parameters
Type | Name | Description |
---|---|---|
Robust.Client.Graphics.DrawingHandleScreen | handle |
Overrides
Robust.Client.UserInterface.Control.Draw(Robust.Client.Graphics.DrawingHandleScreen)
|
Improve this Doc
View Source
FromTime(TimeSpan, TimeSpan)
Declaration
public void FromTime(TimeSpan start, TimeSpan end)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | start | |
TimeSpan | end |