server, refactor: added client side info about current table and parent table (tourney's sub-tables with matches);

This commit is contained in:
Oleg Agafonov 2024-08-11 19:29:42 +04:00
parent bd7aaa34ee
commit 7916af0e52
21 changed files with 315 additions and 161 deletions

View file

@ -20,6 +20,9 @@ import mage.players.Player;
*/
public interface Draft extends MageItem, Serializable {
UUID getTableId();
void setTableId(UUID tableId);
void addPlayer(Player player);
Collection<DraftPlayer> getPlayers();
boolean replacePlayer(Player oldPlayer, Player newPlayer);