Draft stability improvements (#9435)

This commit is contained in:
sprangg 2022-09-26 00:33:16 +03:00 committed by GitHub
parent c8c663b976
commit b9530e307d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 116 additions and 4 deletions

View file

@ -21,6 +21,7 @@ public class DraftPlayer {
protected Deck deck;
protected List<Card> booster;
protected boolean picking;
protected boolean boosterLoaded;
protected boolean joined = false;
protected Set<UUID> hiddenCards;
@ -97,5 +98,17 @@ public class DraftPlayer {
public void setJoined() {
this.joined = true;
}
public void setBoosterLoaded() {
boosterLoaded = true;
}
public void setBoosterNotLoaded() {
boosterLoaded = false;
}
public boolean isBoosterLoaded() {
return boosterLoaded;
}
}