feat: add troop model and integrate troop handling in game logic
This commit is contained in:
1 parent
648d186428
commit
519a0a76cb
12 files changed
+188
-14
No files matched your search
@@ -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