ui/richtext/RichTextBounce.cs

A RichText component class that matches the word 'bounce(s)' and defines visual/animation properties and statistics to display. It sets default color, animation name, duration, direction, timing function, and two stat entries for bullet bounce amount and chance.

Reflection
[RichTextPanel( @"\b[Bb]ounces?\b" )]
public class RichTextBounce : RichTextBase
{
	public override Color Color => new Color(1f);

	public override string AnimationName => "hop";
	public override float? AnimationDuration => 0.4f;
	public override string AnimationDirection => "alternate";
	public override string AnimationTimingFunction => "ease-in";

	public override RichTextStatEntry[] Stats => [
		new(PlayerStat.BulletExtraBounceAmount, StatFormat.Int),
		new(PlayerStat.BulletExtraBounceChance, StatFormat.Percentage)
	];
}