# XWUIGameRotatorWheel

A radial selection wheel (weapon/spell/item picker) that arranges `items` in a circle using CSS rotate/translate transforms over a dark overlay, with a center preview that mirrors the hovered or selected slot's icon and label. Each slot can show a keyboard `key` hint, and the chosen slot glows. Set the `radius`, `size`, and `slotCount`, toggle `showCenter`/`showKeyHints`, then drive it with `show()`/`hide()`/`toggle()`, `select(index)`, and an `onSelect` callback; `getSelected()` returns the active item.

## Basic Usage

A radial item-selection wheel overlay with a center preview and per-slot key hints.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A radial item-selection wheel overlay with a center preview and per-slot key hints.
```

## Spell Wheel (No Key Hints)

An eight-slot spell selector on a larger radius with key hints disabled, leaning on the center preview to show the active spell.

```example
file: examples/SpellWheel.ts
title: Spell Wheel (No Key Hints)
description: An eight-slot spell selector on a larger radius with key hints disabled, leaning on the center preview to show the active spell.
```

## Toggle and Cycle

A wheel that starts hidden and is opened with `toggle()` then stepped through with `select()` from external buttons.

```example
file: examples/ToggleAndCycle.ts
title: Toggle and Cycle
description: A wheel that starts hidden and is opened with toggle() then stepped through with select() from external buttons.
```

```api
```
