city test

This commit is contained in:
1brucben
2025-05-09 20:51:00 +02:00
parent 523233d2d6
commit ec89c73c5d
7 changed files with 37 additions and 6 deletions
+7
View File
@@ -79,6 +79,10 @@ export class UnitView {
troops(): number {
return this.data.troops;
}
createdAtTick(): number | undefined {
return this.data.createdAtTick;
}
tile(): TileRef {
return this.data.pos;
}
@@ -228,6 +232,9 @@ export class PlayerView {
adjustedPopulation(): number {
return this.data.adjustedPopulation;
}
maxPopulation(): number {
return this.data.maxPopulation;
}
workers(): number {
return this.data.workers;
}