display war,campaign,round menu

This commit is contained in:
Maxime Réaux 2026-01-27 11:49:37 +01:00
parent c64bb2e90b
commit e33dec40be
7 changed files with 277 additions and 1556 deletions

View file

@ -136,7 +136,11 @@ class Model:
if rnd.id == round_id:
return rnd
raise KeyError("Round not found")
def get_round_index(self, round_id: str) -> int:
camp = self.get_campaign_by_round(round_id)
return camp.get_round_index(round_id)
def remove_player(self, player_id: str):
del self.players[player_id]