mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Mulligan prompt now informs user whose turn it is:
"You're going first. Do you want to mulligan?"
This commit is contained in:
@@ -63,7 +63,11 @@ public class InputMulligan extends Input {
|
||||
ButtonUtil.enableAll();
|
||||
VMatchUI.SINGLETON_INSTANCE.getBtnOK().setText("No");
|
||||
VMatchUI.SINGLETON_INSTANCE.getBtnCancel().setText("Yes");
|
||||
CMatchUI.SINGLETON_INSTANCE.showMessage("Do you want to Mulligan?");
|
||||
|
||||
final String str =
|
||||
(Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn().equals(AllZone.getHumanPlayer())
|
||||
? "You're going first. " : "The computer is going first. ");
|
||||
CMatchUI.SINGLETON_INSTANCE.showMessage(str + "Do you want to Mulligan?");
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
||||
@@ -86,8 +86,7 @@ public enum FModel {
|
||||
private final IStorageView<CardBlock> blocks;
|
||||
private final IStorageView<CardBlock> fantasyBlocks;
|
||||
|
||||
// have to implement lazy initialization - at the moment of FModel.ctor()
|
||||
// CardDb is not ready yet.
|
||||
// Lazy, since CardDb not ready.
|
||||
private CardCollections decks;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user