thread_split: have structure layer draw updated structures

This commit is contained in:
evanpelle
2025-01-22 16:45:33 -08:00
committed by Evan
parent 06fd66ae9e
commit ad06b14388
6 changed files with 12 additions and 27 deletions
+3
View File
@@ -308,6 +308,9 @@ export class GameView implements GameMap {
units(...types: UnitType[]): UnitView[] {
return Array.from(this._units.values())
}
unit(id: number): UnitView {
return this._units.get(id)
}
unitInfo(type: UnitType): UnitInfo {
return this._config.unitInfo(type)
}