forked from External/mage
* Fixed wrong timer handling while other player controlled a player's turn. Attackers now marked with blue frame. Playable cards have a violet frame. If a player has to select cards from hand, the possible cards are marked yellow now. Discard of multiple cards now marks already selected cards and happens in one selection.
This commit is contained in:
parent
194efe6237
commit
67479bb5a4
20 changed files with 205 additions and 163 deletions
|
|
@ -112,6 +112,7 @@ public class CardView extends SimpleCardView {
|
|||
|
||||
protected boolean isPlayable;
|
||||
protected boolean isChoosable;
|
||||
protected boolean selected;
|
||||
protected boolean canAttack;
|
||||
|
||||
public CardView(Card card) {
|
||||
|
|
@ -695,6 +696,18 @@ public class CardView extends SimpleCardView {
|
|||
public boolean isChoosable() {
|
||||
return isChoosable;
|
||||
}
|
||||
|
||||
public void setChoosable(boolean isChoosable) {
|
||||
this.isChoosable = isChoosable;
|
||||
}
|
||||
|
||||
public boolean isSelected() {
|
||||
return selected;
|
||||
}
|
||||
|
||||
public void setSelected(boolean selected) {
|
||||
this.selected = selected;
|
||||
}
|
||||
|
||||
public boolean isCanAttack() {
|
||||
return canAttack;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue