feat: add troop model and integrate troop handling in game logic

This commit is contained in:
Hide_D committed 2025-12-30 05:41:16 +00:00
1 parent 648d186428
commit 519a0a76cb
12 files changed
+188 -14

No files matched your search

+7
View File
@@ -3,6 +3,7 @@
export type GeneralId = number;
export type CityId = number;
export type NationId = number;
export type TroopId = number;
export type ColorCode = string;
@@ -95,3 +96,9 @@ export interface Nation {
typeCode: string;
meta: Record<string, TriggerValue>;
}
export interface Troop {
id: TroopId;
nationId: NationId;
name: string;
}