# XWUIGameSurvivalHUD

A compact survival-needs HUD that renders a row (or column/radial) of mini stat meters. It supports the stats hunger, thirst, temperature, oxygen, sanity, and radiation (each with its own icon), choosing which to show and their order via `conf_comp.stats`; values come from `data.values` as a `{ stat: { current, max } }` map, and any meter under 25% gets a "low" warning style. Set orientation with `conf_comp.layout` (`horizontal`, `vertical`, or `radial`) and scale with `conf_comp.size`. Update meters live with `updateData({ values })` or the convenience `setStat(stat, current, max?)`.

## Basic Usage

Shows survival needs (hunger, thirst, oxygen, etc.) as compact meters that flag low values.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Compact survival-needs meters for hunger/thirst/temperature/oxygen/sanity/radiation with low-value warnings.
```

## Vertical Stack

Stacks the meters in a column with `layout: "vertical"`, narrowed to the sanity and radiation stats.

```example
file: examples/VerticalStack.ts
html: examples/VerticalStack.html
title: Vertical Stack
description: A vertical column of sanity and radiation meters via layout:"vertical".
```

## Critical Radial

A large radial HUD where oxygen has crashed below 25%, triggering the low-warning style.

```example
file: examples/CriticalRadial.ts
html: examples/CriticalRadial.html
title: Critical Radial
description: A radial size:lg HUD with oxygen in the danger band showing the low-value warning.
```

```api
```
