import 'dart:ui';

class AssetPaths {
  static const String bgSplash = 'assets/images/backgrounds/splash.png';
  static const String bgStreetParkDay =
      'assets/images/backgrounds/street_park_day.png';
  static const String bgStreetParkNight =
      'assets/images/backgrounds/street_park_night.png';
  static const String bgUndergroundGym =
      'assets/images/backgrounds/underground_gym.png';
  static const String bgCommercialGym =
      'assets/images/backgrounds/commercial_gym.png';

  static const String avatarMaleBase = 'assets/images/avatars/base/male.png';
  static const String avatarFemaleBase =
      'assets/images/avatars/base/female.png';

  static const String hairShort = 'assets/images/avatars/hair/short.png';
  static const String hairLong = 'assets/images/avatars/hair/long.png';
  static const String hairBald = 'assets/images/avatars/hair/bald.png';

  static const String outfitBasicTee =
      'assets/images/avatars/clothing/basic_tee.png';
  static const String outfitHoodie =
      'assets/images/avatars/clothing/hoodie.png';
  static const String outfitTank = 'assets/images/avatars/clothing/tank.png';

  static const String plate25kg = 'assets/images/plates/plate_25kg.png';
  static const String plate20kg = 'assets/images/plates/plate_20kg.png';
  static const String plate15kg = 'assets/images/plates/plate_15kg.png';
  static const String plate10kg = 'assets/images/plates/plate_10kg.png';
  static const String plate5kg = 'assets/images/plates/plate_5kg.png';
  static const String plate2_5kg = 'assets/images/plates/plate_2_5kg.png';
  static const String plate1_25kg = 'assets/images/plates/plate_1_25kg.png';

  static const String enemyIronGolem = 'assets/images/enemies/iron_golem.png';
  static const String enemyGravityDemon =
      'assets/images/enemies/gravity_demon.png';
  static const String enemyPressurePhantom =
      'assets/images/enemies/pressure_phantom.png';
  static const String iconXP = 'assets/images/icons/xp.png';
  static const String iconLevel = 'assets/images/icons/level.png';
  static String getAvatarPath(String gender, int variant) {
    return 'assets/images/avatars/$gender/$variant.png';
  }

  static const String audioBeepShort = 'audio/beep_short.ogg';
  static const String audioBeepLong = 'audio/beep_long.ogg';
  static const String appLogo = 'assets/icons/icon.png';
}

class PlateColors {
  static final Map<double, int> colors = {
    25.0: 0xFFD32F2F,
    20.0: 0xFF1976D2,
    15.0: 0xFFFBC02D,
    10.0: 0xFF388E3C,
    5.0: 0xFFFAFAFA,
    2.5: 0xFF212121,
    1.25: 0xFF9E9E9E,
  };
}

class AvatarConstants {
  static const Map<String, Color> skinTones = {
    'pale': Color(0xFFFFDFC4),
    'fair': Color(0xFFF0D5BE),
    'medium': Color(0xFFD1A384),
    'olive': Color(0xFF9E7C63),
    'dark': Color(0xFF5C4033),
  };

  static const Map<String, String> hairStyles = {
    'short_01': AssetPaths.hairShort,
    'long_01': AssetPaths.hairLong,
    'bald': AssetPaths.hairBald,
  };

  static const Map<String, String> clothing = {
    'basic_tee': AssetPaths.outfitBasicTee,
    'hoodie': AssetPaths.outfitHoodie,
    'tank': AssetPaths.outfitTank,
  };
}
