feat: add troop model and integrate troop handling in game logic
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user