mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 20:02:23 +00:00
add teams progress to spawnbar
This commit is contained in:
@@ -384,6 +384,10 @@ export class GameView implements GameMap {
|
||||
throw Error(`player id ${id} not found`);
|
||||
}
|
||||
|
||||
players(): PlayerView[] {
|
||||
return Array.from(this._players.values());
|
||||
}
|
||||
|
||||
playerBySmallID(id: number): PlayerView | TerraNullius {
|
||||
if (id == 0) {
|
||||
return new TerraNulliusImpl();
|
||||
|
||||
Reference in New Issue
Block a user