# XWUIGameChainCounter

A kill/action chain counter wrapped in a circular SVG ring that depletes as a decay timer runs out, resetting the chain to zero if it empties. Each `increment()` bumps the `count`, restarts the ring, and fires a pulse animation; `decayDuration` sets how many seconds the chain survives without a new hit. Use `ringColor` to recolor the timeout ring and `position` to place it on screen. Good for combo/streak systems where the chain must be sustained under time pressure.

## Basic Usage

A chain counter with a shrinking timeout ring that pulses on each increment and expires if not renewed.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A chain counter with a shrinking timeout ring that pulses on each increment and expires if not renewed.
```

## Rapid Chain Build

A fresh chain hammered with quick increments to climb the count before the ring decays.

```example
file: examples/RapidChain.ts
html: examples/RapidChain.html
title: Rapid Chain Build
description: A fresh chain hammered with quick increments to climb the count before the ring decays.
```

## Chain Break

A built-up chain that is deliberately dropped with reset() to show the break state.

```example
file: examples/ChainBreak.ts
html: examples/ChainBreak.html
title: Chain Break
description: A built-up chain that is deliberately dropped with reset() to show the break state.
```

```api
```
