ui+roster: implement removing players

This commit is contained in:
rr-
2018-11-05 21:04:39 +01:00
parent a265dc6d9d
commit ec601478dc
4 changed files with 77 additions and 30 deletions
+3
View File
@@ -12,6 +12,9 @@ class Roster:
def add_player(self, player: Player) -> None:
self.players.append(player)
def delete_player_at(self, player_idx: int) -> None:
del self.players[player_idx]
@staticmethod
def load(path: Path) -> "Roster":
if path.exists():