mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
adjust highlighting for new manipulation interface
This commit is contained in:
@@ -157,7 +157,7 @@ public interface IGuiGame {
|
||||
void restoreOldZones(Map<PlayerView, Object> playersToRestoreZonesFor);
|
||||
void setHighlighted(PlayerView pv, boolean b);
|
||||
void setUsedToPay(CardView card, boolean value);
|
||||
void setSelectables(final List<CardView> cards);
|
||||
void setSelectables(final Iterable<CardView> cards);
|
||||
void clearSelectables();
|
||||
|
||||
void awaitNextInput();
|
||||
|
||||
@@ -221,8 +221,8 @@ public abstract class AbstractGuiGame implements IGuiGame, IMayViewCards {
|
||||
}
|
||||
|
||||
private final Set<CardView> selectableCards = Sets.newHashSet();
|
||||
public void setSelectables(final List<CardView> cards) {
|
||||
selectableCards.addAll(cards);
|
||||
public void setSelectables(final Iterable<CardView> cards) {
|
||||
for ( CardView cv : cards ) { selectableCards.add(cv); }
|
||||
}
|
||||
public void clearSelectables() {
|
||||
selectableCards.clear();
|
||||
|
||||
Reference in New Issue
Block a user