src/core/game/GameView.ts

This commit is contained in:
Scott Anderson
2025-05-15 00:02:44 -04:00
parent f22717a7d5
commit 283784eb44
-3
View File
@@ -98,9 +98,6 @@ export class UnitView {
return this.data.constructionType;
}
dstPortId(): number | undefined {
if (this.type() !== UnitType.TradeShip) {
throw Error("Must be a trade ship");
}
return this.data.dstPortId;
}
detonationDst(): TileRef | undefined {