Files
blitzkit/packages/website-ue/src/tankopedia/tankState.ts
T

25 lines
450 B
TypeScript
Raw Normal View History

2025-12-24 19:37:21 -06:00
export enum TerrainHardness {
Soft,
Medium,
Hard,
}
2025-12-18 16:12:01 -06:00
export interface TankState {
2026-04-28 16:56:38 -05:00
id: string;
2026-05-17 13:19:28 -05:00
equipment: Record<number, number>;
2026-05-28 12:55:11 -05:00
consumables: string[];
2026-05-17 13:19:28 -05:00
2026-04-28 16:56:38 -05:00
upgrades: Record<string, number>;
2026-05-15 21:18:01 -05:00
alternates: Record<string, boolean>;
2026-04-28 16:56:38 -05:00
2025-12-18 16:12:01 -06:00
shell: number;
2025-12-20 10:15:23 -06:00
speed: number;
2026-04-28 16:56:38 -05:00
terrainHardness: TerrainHardness;
2025-12-20 10:15:23 -06:00
isShooting: boolean;
isGunDamaged: boolean;
2026-04-28 16:56:38 -05:00
isTurretTraversing: boolean;
isHullTraversing: boolean;
2025-12-24 20:30:19 -06:00
isCaughtOnFire: boolean;
2025-12-18 16:12:01 -06:00
}