forked from External/mage
* UI: added playable card marks in look-at windows;
This commit is contained in:
parent
ff1299cca9
commit
cde9957f54
15 changed files with 200 additions and 122 deletions
|
|
@ -18,6 +18,7 @@ public class PlaneView implements CommandObjectView, Serializable {
|
|||
protected List<String> rules;
|
||||
|
||||
protected boolean isPlayable = false;
|
||||
protected int playableAmount = 0;
|
||||
|
||||
public PlaneView(Plane plane, Card sourceCard) {
|
||||
this.id = plane.getId();
|
||||
|
|
@ -67,6 +68,16 @@ public class PlaneView implements CommandObjectView, Serializable {
|
|||
this.isPlayable = isPlayable;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPlayableAmount(int playableAmount) {
|
||||
this.playableAmount = playableAmount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getPlayableAmount() {
|
||||
return playableAmount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isChoosable() {
|
||||
// unsupported
|
||||
|
|
@ -85,7 +96,7 @@ public class PlaneView implements CommandObjectView, Serializable {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void setSelected(boolean selected) {
|
||||
public void setSelected(boolean isSelected) {
|
||||
// unsupported
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue