[UI] Displaying playable cards in hand

This commit is contained in:
magenoxx 2014-07-11 19:35:01 +04:00
parent 2fcf655994
commit 5fcc3b1ba8
9 changed files with 119 additions and 193 deletions

View file

@ -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);
}
});