ui/richtext/RichTextMoveRandomly.cs

A UI RichText panel class that defines a small info entry. It specifies an icon path, text "move randomly", animation settings (name, duration, timing), and a white color.

[RichTextPanel( @"\bbullets move randomly\b" )]
public class RichTextMoveRandomly : RichTextBase
{
	public override string ImagePath => "textures/ui/bullet-icon.png";
	public override bool PrependIcon => true;
	public override string TextOverride => "move randomly";


	public override string AnimationName => "track";
	public override float? AnimationDuration => 1f;
	public override string AnimationTimingFunction => "linear";

	public override Color Color => new Color( 1f, 1f, 1f );
}