forked from External/mage
Various new Drag & Drop deck editor improvements
* Shift-Click / Shift-Drag now work as expected as far as multi-selection * Deck editor saves split pane split positions * Card layout and sort settings are now saved along side the a deck when saving to the .dck format, so that you have back the exact same deck layout when you re-load the deck. * Fixed the symbol image downloader to work around some of the large-size symbol images being missing on gatherer. Falls back to the medium sized images currently for those symbols.
This commit is contained in:
parent
38cbf1a687
commit
f6d50ce04f
11 changed files with 516 additions and 238 deletions
24
Mage/src/main/java/mage/cards/decks/DeckCardLayout.java
Normal file
24
Mage/src/main/java/mage/cards/decks/DeckCardLayout.java
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
package mage.cards.decks;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by stravant@gmail.com on 2016-10-03.
|
||||
*/
|
||||
public class DeckCardLayout {
|
||||
private List<List<List<DeckCardInfo>>> cards;
|
||||
private String settings;
|
||||
|
||||
public DeckCardLayout(List<List<List<DeckCardInfo>>> cards, String settings) {
|
||||
this.cards = cards;
|
||||
this.settings = settings;
|
||||
}
|
||||
|
||||
public List<List<List<DeckCardInfo>>> getCards() {
|
||||
return cards;
|
||||
}
|
||||
|
||||
public String getSettings() {
|
||||
return settings;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue