/// Typed key for HUD image elements.
enum HudKey {
  // --- Layout ---
  statusBar('statusBar'),

  // --- Score/Floor/Lives/Ammo digits (0-9 for each counter) ---
  digit0('digit0'),
  digit1('digit1'),
  digit2('digit2'),
  digit3('digit3'),
  digit4('digit4'),
  digit5('digit5'),
  digit6('digit6'),
  digit7('digit7'),
  digit8('digit8'),
  digit9('digit9'),

  // --- BJ face health bands (each maps to the base of 3 animated frames) ---
  faceHealthy('faceHealthy'), // health 85-100
  faceScratched('faceScratched'), // health 69-84
  faceHurt('faceHurt'), // health 53-68
  faceWounded('faceWounded'), // health 37-52
  faceBadlyWounded('faceBadlyWounded'), // health 21-36
  faceDying('faceDying'), // health  5-20
  faceNearDeath('faceNearDeath'), // health  1-4
  faceDead('faceDead'), // health <= 0

  // --- Weapon icons ---
  pistolIcon('pistolIcon'),
  machineGunIcon('machineGunIcon'),
  chainGunIcon('chainGunIcon')
  ;

  const HudKey(this.id);

  final String id;

  @override
  String toString() => 'HudKey($id)';
}
