forked from External/mage
Fixed player leaving/conceding handling.
This commit is contained in:
parent
79d4c07d20
commit
58d3fc2328
21 changed files with 553 additions and 463 deletions
|
|
@ -173,7 +173,7 @@ public interface Game extends MageItem, Serializable {
|
|||
|
||||
UUID getPriorityPlayerId();
|
||||
|
||||
boolean gameOver(UUID playerId);
|
||||
boolean checkIfGameIsOver();
|
||||
|
||||
boolean hasEnded();
|
||||
|
||||
|
|
@ -347,6 +347,8 @@ public interface Game extends MageItem, Serializable {
|
|||
|
||||
void concede(UUID playerId);
|
||||
|
||||
void setConcedingPlayer(UUID playerId);
|
||||
|
||||
void setManaPaymentMode(UUID playerId, boolean autoPayment);
|
||||
|
||||
void setManaPaymentModeRestricted(UUID playerId, boolean autoPaymentRestricted);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue