forked from External/mage
Redesigned sorting handling of deck, sideboard and draft card area (keep sorting if and view if cards move).
This commit is contained in:
parent
d9d79e294d
commit
f3992bd2d5
15 changed files with 461 additions and 83 deletions
|
|
@ -28,13 +28,12 @@
|
|||
|
||||
package mage.client.cards;
|
||||
|
||||
import mage.client.constants.Constants;
|
||||
import java.util.UUID;
|
||||
import mage.client.deckeditor.SortSetting;
|
||||
import mage.client.util.Event;
|
||||
import mage.client.util.Listener;
|
||||
import mage.view.CardsView;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Interface for card container.
|
||||
*
|
||||
|
|
@ -44,9 +43,9 @@ import java.util.UUID;
|
|||
public interface ICardGrid {
|
||||
void clearCardEventListeners();
|
||||
void addCardEventListener(Listener<Event> listener);
|
||||
void drawCards(Constants.SortBy sortBy, boolean piles);
|
||||
void loadCards(CardsView showCards, Constants.SortBy sortBy, boolean piles, BigCard bigCard, UUID gameId);
|
||||
void loadCards(CardsView showCards, Constants.SortBy sortBy, boolean piles, BigCard bigCard, UUID gameId, boolean merge);
|
||||
void drawCards(SortSetting sortSetting, boolean piles);
|
||||
void loadCards(CardsView showCards, SortSetting sortSetting, boolean piles, BigCard bigCard, UUID gameId);
|
||||
void loadCards(CardsView showCards, SortSetting sortSetting, boolean piles, BigCard bigCard, UUID gameId, boolean merge);
|
||||
void refresh();
|
||||
int cardsSize();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue