forked from External/mage
game timer: Add chess-style buffer time option (#10598)
* UI Changes * Add new buffer time options * Main functionality * Final implementation Also added player UI for when they are using their buffer time (timer turns green)
This commit is contained in:
parent
b7543af939
commit
519b3988be
24 changed files with 273 additions and 16 deletions
|
|
@ -854,6 +854,20 @@ public interface Player extends MageItem, Copyable<Player> {
|
|||
*/
|
||||
int getPriorityTimeLeft();
|
||||
|
||||
/**
|
||||
* Set seconds left before priority time starts ticking down.
|
||||
*
|
||||
* @param timeLeft
|
||||
*/
|
||||
void setBufferTimeLeft(int timeLeft);
|
||||
|
||||
/**
|
||||
* Returns seconds left before priority time starts ticking down.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
int getBufferTimeLeft();
|
||||
|
||||
void setReachedNextTurnAfterLeaving(boolean reachedNextTurnAfterLeaving);
|
||||
|
||||
boolean hasReachedNextTurnAfterLeaving();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue