forked from External/mage
[UI] Displaying playable cards in hand
This commit is contained in:
parent
2fcf655994
commit
5fcc3b1ba8
9 changed files with 119 additions and 193 deletions
|
|
@ -310,7 +310,7 @@ public class Cards extends javax.swing.JPanel {
|
|||
Collections.sort(cards, new Comparator<CardPanel>() {
|
||||
@Override
|
||||
public int compare(CardPanel cp1, CardPanel cp2) {
|
||||
return Integer.valueOf(cp1.getLocation().x).compareTo(Integer.valueOf(cp2.getLocation().x));
|
||||
return Integer.valueOf(cp1.getLocation().x).compareTo(cp2.getLocation().x);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue