Refactor simulation and viewer architecture
This commit is contained in:
14
apps/viewer/src/contractsFactions.ts
Normal file
14
apps/viewer/src/contractsFactions.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface FactionSnapshot {
|
||||
id: string;
|
||||
label: string;
|
||||
color: string;
|
||||
credits: number;
|
||||
populationTotal: number;
|
||||
oreMined: number;
|
||||
goodsProduced: number;
|
||||
shipsBuilt: number;
|
||||
shipsLost: number;
|
||||
defaultPolicySetId?: string | null;
|
||||
}
|
||||
|
||||
export interface FactionDelta extends FactionSnapshot {}
|
||||
Reference in New Issue
Block a user