mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Include prompt message in base input zoom view
This commit is contained in:
@@ -82,14 +82,16 @@ public abstract class InputBase implements java.io.Serializable, Input {
|
||||
}
|
||||
|
||||
protected void onCardSelected(final Card card, final List<Card> orderedCardOptions) {
|
||||
FControl.getView().getCardZoom().show("", card, orderedCardOptions, new ZoomController<SpellAbility>() {
|
||||
//for base input, just show zoom view with no options
|
||||
FControl.getView().getCardZoom().show(FControl.getView().getPrompt().getMessage(),
|
||||
card, orderedCardOptions, new ZoomController<Object>() {
|
||||
@Override
|
||||
public List<SpellAbility> getOptions(Card card) {
|
||||
public List<Object> getOptions(Card card) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean selectOption(Card card, SpellAbility option) {
|
||||
public boolean selectOption(Card card, Object option) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user